MLUG: Re: [MLUG] Re: minor annoyance with '..' files
Re: [MLUG] Re: minor annoyance with '..' files
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On Tue, 1 May 2001, Mark Pecaut wrote:

> I don't know, but if you are unsure you can always pipe it through
> xargs:
>
> ls -1 ../*/*blah |xargs rm


OK.  I sometimes do this kind of thing:

rm `ls -1 ../*/*blah`

Same idea, I think.  Or in tcsh:

foreach $file ( `ls -1 ../*/*blah` )
rm $file
end


Mike

--
To manage your subscription, go to http://mlug.missouri.edu/members/edit.php

Archives are available at http://mlug.missouri.edu/list-archives/