Hai’s Blog

July 15, 2007

How to Create .ZIP Files without a __MACOSX Folder

Filed under: OSX, Review, Tips & Tricks, Windows — Hai @ 5:50 pm

The problem: I want to send a folder full of files from my Mac to my friend’s PC. When I right-click on the folder and choose the archive option, the resulting .ZIP file includes a folder called __MACOSX, along with several files that begin with a dot.

The solution: Use YemuZip, which has a PC-specific option that eliminates these files. Another option is Compress, which is a simpler application.Compress can handle many file types such as .ZIP, .7ZIP, and .TAR while YemuZip can only output to .ZIP files. However, YemuZip allows the user to specify the location of the output, while Compress does not.

1 Comment »

  1. In addition to zip you may tell tar not to copy resource forks on the command line!

    export COPY_EXTENDED_ATTRIBUTES_DISABLE=true

    export COPYFILE_DISABLE=true # Mac OS X 10.5 (Leopard)

    see: http://codesnippets.joyent.com/posts/show/1962

    Comment by tim — May 24, 2009 @ 5:27 pm


RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.