removing files

Peter Boosten peter at boosten.org
Tue Nov 9 06:11:14 UTC 2010


On 9-11-2010 6:57, Eitan Adler wrote:
> If you really want to "delete all the ".chk" files extension files at a time"
> find path -name '*.chk' -print -prune -exec rm -rf {} + \;

And more efficient:

find path -name '*.chk' -delete

Peter

-- 
http://www.boosten.org


More information about the freebsd-questions mailing list