Skip to content

Instantly share code, notes, and snippets.

@rriemann
Created November 28, 2013 13:13
Show Gist options
  • Save rriemann/7691652 to your computer and use it in GitHub Desktop.
Save rriemann/7691652 to your computer and use it in GitHub Desktop.
run convert in parallel
find -maxdepth 1 -iname \*.JPG | parallel convert -thumbnail 800x600 -auto-orient -quality 70 {} small/{}
# source: http://psung.blogspot.fr/2010/08/gnu-parallel.html
@rriemann
Copy link
Author

find . -type f -iname *.wma | parallel —bar ffmpeg -v 0 -i "{}" "{.}.mp3"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment