Skip to content

Instantly share code, notes, and snippets.

@nosada nosada/gif.sh
Created Jul 7, 2014

Embed
What would you like to do?
be happy
#!/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
You can’t perform that action at this time.