Skip to content

Instantly share code, notes, and snippets.

@AlbertSuarez
Created May 27, 2021 11:11
Show Gist options
  • Save AlbertSuarez/661dc732dd60c317c0331f9fe75f1211 to your computer and use it in GitHub Desktop.
Save AlbertSuarez/661dc732dd60c317c0331f9fe75f1211 to your computer and use it in GitHub Desktop.
rename_jpeg_to_jpg.sh
#!/usr/bin/env bash
rename 's/\.jpeg/\.jpg/' *.jpeg; rename 's/\.JPG/\.jpg/' *.JPG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment