Skip to content

Instantly share code, notes, and snippets.

@ianldgs
Created December 17, 2020 22:58
Show Gist options
  • Save ianldgs/86ad03053634c2e4f67f07c3be31af9e to your computer and use it in GitHub Desktop.
Save ianldgs/86ad03053634c2e4f67f07c3be31af9e to your computer and use it in GitHub Desktop.
ls | while read file; do convert $file -resize 15% $(echo $file | sed -e 's/\.jpg/_thumb\.jpg/g'); done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment