Created
May 4, 2011 18:33
-
-
Save xeoncross/955732 to your computer and use it in GitHub Desktop.
Linux Commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // chmod only files (leaving directories as-is) | |
| find . -type f -exec chmod 644 {} \; | |
| // CHMOD only directories (leave files as-is) | |
| find . -type d -exec chmod 755 {} \; | |
| // Convert a folder of PSD images to PNG (or JPG) previews (requires ImageMagick to be installed) | |
| convert *.psd[0] -set filename:orig %t %[filename:orig].png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment