Re: -R switch in rm command doesn't...
- From: Robert Harris <robert.f.harris@xxxxxxxxxxxxxxxx>
- Date: Sat, 25 Feb 2006 21:35:16 GMT
Gordon wrote:
I am trying to remove files which all have the same part of a file name
that exist in sub-directories of sub-directories - the -R switch only
seems to go down one level not two or more. is that just a limitation of
the -R switch, or am I doing something wrong?
If foo is a directory in your current directory, then:
rm -R foo
will remove foo and recursively remove all its subdirectories (if it can). Is that what you expect?
Robert
.
- References:
- -R switch in rm command doesn't...
- From: Gordon
- -R switch in rm command doesn't...
- Prev by Date: Re: -R switch in rm command doesn't...
- Next by Date: Re: -R switch in rm command doesn't...
- Previous by thread: Re: -R switch in rm command doesn't...
- Next by thread: ACPI on Laptop (IBM R50e)
- Index(es):
Relevant Pages
|
|