
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tlug] Global Deleting with Wildcards
Larry Stanbery wrote:
> "rm" will take wildcards, but it doesn't use the pattern to recurse
> subdirs -- instead, you'd need to use "find", like so:
>
> find . \( -name "*.tmp" -o -name "temp.*" \) -exec rm -f {} \;
Thanks much. With this as a start, I should be able to work it out. I had
already been using _find_ in a similar way to generate the information
needed to make incremental backups, so I do have some clue as to how this
works.
Chuck
---------------------------
Charles Muller <acmuller@example.com>
Faculty of Humanities, Toyo Gakuen University
Digital Dictionary of Buddhism and CJKV-English Dictionary [http://www.acmuller.net]
H-Buddhism List Editor [http://www2.h-net.msu.edu/~buddhism/]
Mobile Phone: 090-9310-1787
Home |
Main Index |
Thread Index