Sensei
- Join Date:
- Jan 2004
- Posts:
- 63,512
- Plugin Contributions:
- 176
Creating a Zip File on a Mac
Sometimes contributions created on Macs have files and folders embedded in them with names like .DS_Store and __MACOSX. Those files are created by Finder.
The only way to not create them is to not use Finder to access the folders containing those files.
Free tool to clean out those files:
http://software.ryangrier.com/archives/#ds_store_cleaner
An alternative app similar to Finder is PathFinder. PathFinder is probably the easiest tool to utilize for dealing with this topic.
While not free, is known to work well for allowing access to such folders/files without creating the .DS_Store files, and allowing easy removal of those files if found, and then allowing zipping via simple right-click menu options etc. However, using the cleaner tool above is a free way to avoid the issue.
Some ideas and explanation of the topic:
http://osxdaily.com/2010/02/03/how-to-prevent-ds_store-file-creation/
http://hints.macworld.com/article.php?story=20030305025744788
Additionally, since those files are hidden in normal Finder mode, to see whether the files exist, you can turn the display of hidden files on/off by running this command from a terminal window: defaults write com.apple.finder AppleShowAllFiles -ON or```
defaults write com.apple.finder AppleShowAllFiles -OFF
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.