SQLTerminal.app
now available

XPath.app
now available
Want fresh tech tips in your inbox?

Recursively Zip Up a Directory while Excluding Certain Files Based on File Extension Type

       

In the example below, I'm going to zip up a directory that includes images in both PNG and PSD file formats. However, I want to exclude the PSDs because they are huge!


zip -r my-compressed-dir-without-psd.zip directory-to-zip -x '*.psd'

Tagged w/ #compression #exclude #photoshop #psd #ziplinux #programming

Apps I've Built

XPath Expression Editor
Practice and improve your XPath skills with XPath Editor
Click to buy on the App Store
Photo Location Changer
Easily change the location on your photos and videos
Click here for more info about the app
Photo Date Changer
Easily change the dates and times on your photos and videos
Click here for more info about the app
VocabReminder
English dictionary with notifications so you won't forget what you're studying!
Click here for more info about the app
VocabQuiz
The app that quizzes and scores you on your vocabulary!
Click here for more info about the app