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 folderName -x "*.DS_Store"


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.