Created
July 15, 2015 12:53
-
-
Save cr3ative/faea1edc0999e7a58f7e to your computer and use it in GitHub Desktop.
Process multiple .JPG images in a folder using image-dreamer on vagrant
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
#!/bin/bash | |
FILES=./*.jpg | |
for f in $FILES | |
do | |
echo "Processing $f..." | |
vagrant ssh -c "cd /vagrant/; ipython dreamify.py $f $f.png" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment