On Wed, 2003-08-27 at 20:14, Bradley Caricofe wrote:
> > untested but should come close:
> >
> > find ~/.loki -name '*.dso'|xargs rm
> >
> > Assumption:
> >
> > file is run under the user's id otherwise the ~ will not substitute
> > correctly.
> 
> Bret and Sean, thanks very much!  Within the .loki directory are about 20
> subdirectories with these .dso files.  Will this command traverse all of
> those directories deleting the files?  Thanks again guys...
> 

yep in the absence of a -depth option it will recurse the entire tree.

I always found man find to be hard to glean usable information from but
info find does a pretty good job of explaining and gives some examples.

Bret


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to