Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Nov 2010 07:11:10 +0100
From:      Peter Boosten <peter@boosten.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: removing files
Message-ID:  <4CD8E5FE.8090201@boosten.org>
In-Reply-To: <AANLkTikPxOEjhF4nXadnZzSGj2F%2BZX0CjSvKjYTFeTOu@mail.gmail.com>
References:  <AANLkTik3_atdP6Zbg=utLEVvQLCMyz7f8RDuPU1CtXWa@mail.gmail.com>	<201011080720.29876.ken@mthelicon.com> <AANLkTikPxOEjhF4nXadnZzSGj2F%2BZX0CjSvKjYTFeTOu@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CD8E5FE.8090201>