rm -rf stalls server

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Thu Mar 26 21:05:21 UTC 2015


Mehmet Erol Sanliturk <m.e.sanliturk at 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"


More information about the freebsd-questions mailing list