Re: Unix command(s) to remove files recursively?
Am Dienstag, 5. Juni 2012 schrieb Rodolfo Medina:
> Hi.
Hi Rodolfo,
> Suppose that I have, in a certain directory and all its subdirs and
> subdirs' subdirs' subdirs... etc., a certain number of files
> terminating with `~', e.g.: `myfile~', and that I want to remove all
> of them recursively. Is there a Unix command to do that right away?
On Z-Shell
rm **/*~
echo it first:
echo **/*~
Otherwise that find -delete solution mentioned already.
Ciao,
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
Reply to: