Re: rm -r/-R/--recursive doesn't seem to work

1997-01-01 Thread Benedikt Eric Heinen
> find . -name TRANS.TBL -exec rm {} \; alternatively you could use: rm `find . -name TRANS.TBL` which would have some advantages regarding speed & system usage, as rm wouldn't be called individually for each file, but rather once for all files. Benedikt signoff --- Benedikt Eric Heine

Re: rm -r/-R/--recursive doesn't seem to work

1996-12-31 Thread Guy Maor
Don Prezioso <[EMAIL PROTECTED]> writes: > find . -name TRANS.TBL -exec rm {} \; find . -name TRANS.TBL -print0 | xargs -0 rm is better as it starts many fewer processes. Guy -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EM

Re: rm -r/-R/--recursive doesn't seem to work

1996-12-31 Thread Dale Scheetz
On Tue, 31 Dec 1996, Don Prezioso wrote: > all of the contents of bad.dir. From your description, I think you want > to do something like this: > > find . -name TRANS.TBL -exec rm {} \; > Thanks to all who replied to my stupidity. This list is the greatest! I use rm -r all the time, for it's pr

Re: rm -r/-R/--recursive doesn't seem to work

1996-12-31 Thread Eloy A. Paris
> Them rm -R command does do what you want. I have used it to delete an entire ^^ > subdirectory structure as in: rm -Rf subdir. Here, everything under subdir > gets deleted, including the directory subdir itself. OOPPP!!! I really meant: "the rm -Rf command DOES NO

Re: rm -r/-R/--recursive doesn't seem to work

1996-12-31 Thread Don Prezioso
On Tue, 31 Dec 1996, Dale Scheetz wrote: > I just built a distribution tree from a CD on my hard disk. I tried to > remove all the TRANS.TBL files from the tree by using: > rm -r TRANS.TBL > If I do this in a directory that has a TRANS.TBL it, and only it, gets > removed. If I do this in an upper

Re: rm -r/-R/--recursive doesn't seem to work

1996-12-31 Thread Eloy A. Paris
> I just built a distribution tree from a CD on my hard disk. I tried to > remove all the TRANS.TBL files from the tree by using: > rm -r TRANS.TBL > If I do this in a directory that has a TRANS.TBL it, and only it, gets > removed. If I do this in an upper directory without a TRANS.TBL file, I > ge

Re: rm -r/-R/--recursive doesn't seem to work

1996-12-31 Thread Martin Konold
On Tue, 31 Dec 1996, Dale Scheetz wrote: Hi Zwerg, > I just built a distribution tree from a CD on my hard disk. I tried to > remove all the TRANS.TBL files from the tree by using: > rm -r TRANS.TBL > Am I doing something wrong, or is this a bug in rm? > TIA, > Dwarf You missunderstodd the purp