[ale] Recursive script help
Joseph A Knapka
jknapka at earthlink.net
Fri May 3 11:48:37 EDT 2002
Armsby John-G16665 wrote:
>
> If you want a command, would not:
>
> rm -Rf *.extension
>
> be adequate assuming you are in the correct directory when you run it?
This command will recursively remove everything, even
directories and all their contents, that matches
"*.extension" in the current dir. My impression was
that what Gary wanted was to delete any *file* named
"*.extension" in this dir or any subdir, in which
case (as many people have pointed out) "find" is the
Right Way. You could do it with a complicated shell
script, but "find" is the standard tool for performing
arbitrary operations recursively on filesystems.
Cheers,
-- Joe
Any OS distinguishable from Windows is not sufficiently broken.
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list