Created
July 7, 2014 15:05
-
-
Save nosada/616feb2265d110f04a06 to your computer and use it in GitHub Desktop.
be happy
This file contains 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
#!/bin/sh | |
directory="./*" | |
for filepath in ${directory} | |
do | |
if [ ! -f ${filepath} ]; then | |
echo "${filepath}" | |
cd ${filepath} | |
convert *.png anime.gif | |
cd .. | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment