Subject: Re: [netatalk-admins] Option to disable AppleDouble
From: Tim Carlson (tim@santafe.edu)
Date: Fri Sep 17 1999 - 13:43:37 EDT
On Fri, 17 Sep 1999 mmendiz@acer.com.mx wrote:
> find is more powerful than that, you can combine the two instructions in only
> one like this
>
> find /path/to/apple/share -type d -name .AppleDouble -exec /bin/rm -R {} \;
>
> find /path/to/apple/share -type d -name .AppleDouble | xargs /bin/rm -R
ok.. I don't think netatalk-admins is the place to start discussing the
good/bad parts of using -exec vs. using | xargs.
As a homework assignment, you can try both commands and see which one is
faster :)
Tim
This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:17:14 EST