Skip to content

Instantly share code, notes, and snippets.

@arundasan91
Created October 1, 2017 15:58
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 arundasan91/6a2755d75302e7c52f153c27575854e8 to your computer and use it in GitHub Desktop.
Save arundasan91/6a2755d75302e7c52f153c27575854e8 to your computer and use it in GitHub Desktop.
#!/bin/bash
ls -1 *.tiff | parallel convert '{}' '{.}.jpg'
find . -name "*.tiff" -print0 | xargs -0 -I {} rm {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment