Created
January 3, 2017 01:29
-
-
Save antonioalmeida/3398212f9f6fb231a5a7fe031d2d6875 to your computer and use it in GitHub Desktop.
Grayscales all files in a directory (Requires imagemagick)
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
for f in * | |
do | |
convert $f -type Grayscale "$f" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment