Skip to content

Instantly share code, notes, and snippets.

@cr3ative
Created July 15, 2015 12:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cr3ative/faea1edc0999e7a58f7e to your computer and use it in GitHub Desktop.
Save cr3ative/faea1edc0999e7a58f7e to your computer and use it in GitHub Desktop.
Process multiple .JPG images in a folder using image-dreamer on vagrant
#!/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