Posted By

beneberle on 08/26/11


Tagged

unix osx terminal


Versions (?)

Compressing folders in Terminal, excluding .DS_Store files


 / Published in: Bash
 

URL: http://superuser.com/questions/198569/compressing-folders-on-a-mac-without-the-ds-store

If you need to zip a directory named folderName and ignore all .DS_Store files, then do the following:

  1. zip -r newArchiveName.zip folderName -x "*.DS_Store"

Report this snippet  

You need to login to post a comment.