2009
04
May

Clean Archive File in Mac OSX

Every time I come across a small issue I have with the Mac, there is always a way to fix it so it isn’t a problem anymore.

My latest issue was when creating zip files on the Mac, the zip file acts odd on the PC. If you have ever had this problem, you know what I am talking about. The archive will usually contain a .DS_Store file and resource forks for most, if not all, files in the archive.

The easiest way to describe a resource fork is if you have a file named myimage.jpg, you will have a hidden file named .myimage.jpg. When you extract the zip file it will extract myimage.jpg and because of this resource fork, it will try to extract the file again which will promt you to overwrite the file or not. So if you have 30 files in the zip archive, that’s a lot of confirmation.

JuneCloud software has created an Automator action to clean up those archives so they don’t contain problem files.

Once you install it, Command + click or right click on the file(s) you want to zip and go to More -> Automator -> Create Clean Archive. You will be prompted to name the zip file which is optional. And you are done. Easy as that!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>