Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
I don't know, but if you are unsure you can always pipe it
through xargs:
ls -1 ../*/*blah |xargs rm
or use rm -i
Isn't Unix great? There are about a 1000 ways to remove
files. Which reminds me of some sysadmin horror stories I
read once:
http://www2.hunter.com/~skh/humor/admin-horror.html
very interesting!
-Mark
On Tue, May 01, 2001 at 04:46:42PM -0500, Mike Miller wrote:
> One more question. Is it guaranteed anywhere that the files that 'ls
> pattern' shows are always *exactly* the ones that would be operated on by
> rm, cp, mv, etc. when confronted with the same pattern? For example, does
>
> ls ../*/*blah *always* show me *exactly* what
> rm ../*/*blah will remove?
>
> Hmm... not sure on directories. Should it be "ls -d"?
>
> Mike
>
> --
> To manage your subscription, go to http://mlug.missouri.edu/members/edit.php
>
> Archives are available at http://mlug.missouri.edu/list-archives/
--
http://steamboataffordable.com
--
To manage your subscription, go to http://mlug.missouri.edu/members/edit.php
Archives are available at http://mlug.missouri.edu/list-archives/