[X-Unix] [ANN] unmac
Eric F Crist
ecrist at secure-computing.net
Wed Jan 7 06:52:49 PST 2009
On Jan 7, 2009, at 8:14 AM, Xavier Noria wrote:
> I just thought people around this list would like to be aware of this
> free command-line utility to clean Mac spurious files where you don't
> need them:
>
> http://github.com/fxn/unmac/tree/master
Couldn't this same thing be accomplished with a shell script calling
the find command? In that instance, ruby/etc isn't required.
As an example (this could be cleaned up with a proper regex, I think):
find . -name ".DS_Store" \
-or -name ".Spotlight-V100" \
-or -name ".fseventsd" \
-or -name ".Trashes" \
-or -name "__MACOSX" \
-maxdepth 1 \
-delete
Again, just an example.
---
Eric Crist
More information about the X-Unix
mailing list