Re: -R switch in rm command doesn't...
- From: "Chris F.A. Johnson" <cfajohnson@xxxxxxxxx>
- Date: Sat, 25 Feb 2006 14:46:02 -0500
On 2006-02-25, 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?
What is the exact command you use?
What is the structure (with names) of the hierarchy?
If you supply a pattern with the -R option, it will only look in
directories that match that mattern.
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
.
- Follow-Ups:
- Re: -R switch in rm command doesn't...
- From: Gordon
- Re: -R switch in rm command doesn't...
- References:
- -R switch in rm command doesn't...
- From: Gordon
- -R switch in rm command doesn't...
- Prev by Date: -R switch in rm command doesn't...
- Next by Date: Re: -R switch in rm command doesn't...
- Previous by thread: -R switch in rm command doesn't...
- Next by thread: Re: -R switch in rm command doesn't...
- Index(es):
Relevant Pages
|