Elegant delete of word ~tmp files in all sub / dirs

Graham Bentley gbentley at uk2.net
Thu Jan 26 11:52:26 PST 2006


Hi All,

I once found a very elegant method of recursively
removing all the word ~tmp files on our Samba
server (many hundereds of subs)

It involved find rm xargs and some {}

It worked very quickly indeed. I have tried to
find this again but cant and have used alternatives
that are alot slower.

Any CLI Gurus point me in the path of enlightenment ?

:o)


More information about the freebsd-questions mailing list