Re: removing exe files...
Hi!
Thank you very much to all of you who sent ideas. Finally I used
David's sugestion, which is along with Peter's and D-Man's ones...
Thanks again!
Marcelo
On Wed, Jan 10, 2001 at 05:48:38PM -0500, David B. Harris wrote:
> To quote Marcelo Chiapparini <chiappa@centroin.com.br>,
> # How can I remove all of them? I search in the rm documentation (man rm
> and
> # info rm) but I didn't find anything.
>
> You can use a few tools to do this, but I'll focus on 'find'. Here's
> what to do, assuming the files you copied over are in /old-disk, and all
> the fortran files are ended with ".exe". Keep in mind this will remove
> *all* files in /old-disk and its subdirectories which have their name
> end in ".exe":
>
> find /old-disk -name "*.exe" | xargs rm -f
>
> That'll find all the names in /old-disk and is subdirectories which end
> in .exe, and will then run 'rm' on it, with the '-f' flag, which means
> "force", or as I like to put it, "remove without any thought to the
> consequences".
>
> David Barclay Harris, Clan Barclay
> Aut agere, aut mori. (Either action, or death.)
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
Reply to: