Compressing folders in Terminal, excluding .DS_Store files


/ Published in: Bash
Save to your folder(s)

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


Copy this code and paste it in your HTML
  1. zip -r newArchiveName.zip folderName -x "*.DS_Store"

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.