Last active
December 16, 2015 01:29
-
-
Save yyolk/5355018 to your computer and use it in GitHub Desktop.
droplet for http://yolkalyzer.yolk.cc
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
#grab yolkalyzer | |
curl -O "https://raw.github.com/yyolk/yolkalyzer/master/yolkalyzer.rb" | |
#store our directory name in a var | |
export dirdir="$HOME/Desktop/fukd_dae-`date +'%Y%M%d-%H%m%s'`" | |
# create dir for our fukd .dae | |
mkdir "$dirdir" | |
# iterate over dropped objects with yolkalyzer.rb we grabbed with curl | |
for f in "$@" | |
do | |
ruby ~/yolkalyzer.rb "$f" "$dirdir/`basename "$f" .dae`-fukd.dae" | |
done | |
# cleanup | |
rm ~/yolkalyzer.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment