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'
  
  
    
      Written by Sean Behan on 06/17/2012
    
  
 
  
    Launch Photoshop (Or Any App) From The Command Line on Mac OS X  
  
    I often find myself coding with the terminal open. Cding around a web app project I usually end up at some point launching Photoshop. Either to touch up or work on a psd, png, jpg ...etc. I fire up Photoshop and then navigate to the app's public directory...  
  
    
      Written by Sean Behan on 06/17/2012