Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Clean .DS_Store, .Trash, and ._resources files prior to copy' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Clean .DS_Store, .Trash, and ._resources files prior to copy
Authored by: tedw on Mar 09, '10 09:42:24PM

For zipping files, the 'zip' command line tool has an option (-df or --datafork) which excludes Mac OS specific files from the archive. it also has other useful options, such as for converting text document line-endings and adjusting filenames to conform to MSDOS naming conventions.

Both the 'cp' and 'rsync' command lines tools have options for excluding resource forks during copying.

When you're doing transfers like this, it's generally better to exclude than delete - keeping the originals whole benefits those working on the Macs who may have (unwittingly) stored comments or other useful information in resource forks.

[ Reply to This | # ]