Chris Bannister <ch...@suddenmoves.org.uk> writes:

> On 05/06/12 11:42, Rodolfo Medina wrote:
>
>> 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?
>
> find /my/top/level/directory -name '*~' -delete
>
> will do that for you.
>
> Try:
>
> find /my/top/level/directory -name '*~' -print
>
> to see what it'll remove.


Fantastic.  Thanks.
Rodolfo


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87hauqrlit.fsf...@gmail.com

Reply via email to