Today I learned two things that’ll save be gobs of typing and manual manipulations.
- Preferences > Keyboard > Services then check New Terminal at Folder
So say you are building out a site, and you are chopping up the graphics in photoshop or Illustrator, and you’ve got a nice tidy folder to scp up to your development server. Well, you’ve been working in a given folder via your GUI and after you’ve set point #1 above, then you simply right click on that folder in the GUI and click ‘New Terminal at Folder’, and wala, you are on the command line in that folder.
…no more CDing around. You are just there 🙂
Ok, now suppose that you need to make all the images 25px smaller for whatever reason. Forget Adobe Bridge, or forget creating that macro for Photoshop…just head back to the command line.
sips -Z pixelsize *.imagefileextension
…and your files are resized. Be careful to work with copies of the originals. There’s no going back on the command line 🙂