Date: Thu, 26 Mar 2015 17:05:08 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com> Cc: Artem Kuchin <artem@artem.ru>, FreeBSD Questions Mailing List <freebsd-questions@freebsd.org> Subject: Re: rm -rf stalls server Message-ID: <44iodneagr.fsf@lowell-desk.lan> In-Reply-To: <CAOgwaMsodE2ZSubknmGQoXz7z13Fas3vvLzKTgO1_BVY3x6qsQ@mail.gmail.com> (Mehmet Erol Sanliturk's message of "Thu, 26 Mar 2015 13:25:56 -0700") References: <55144606.7000003@artem.ru> <CAOgwaMsodE2ZSubknmGQoXz7z13Fas3vvLzKTgO1_BVY3x6qsQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com> writes: > I am using a script to delete .BAK files from many directories with lines > like > > rm path/*.BAK > find path -name '*.BAK' -exec rm -f '{}' + > > > for each different path names which contains such files . Surely you would see a significant performance improvement just by using "-delete" instead of "-exec rm"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44iodneagr.fsf>