On 05/06/12 13:12, Slavko wrote:

very bad idea, if the file name has spaces…

Try:

find . -name '*~' -print0 | xargs -0 rm

replace the '.' by your paths..., you can add the '-f' option to rm, to
avoid error messages, if something will be wrong (directory with name '*~'
and '*~' files in it)


or you could just use the -delete option in find.  Much simpler.

--
Chris Bannister


--
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/4fcdf843.80...@suddenmoves.org.uk

Reply via email to