Skip to content

Instantly share code, notes, and snippets.

@RickyAvina
Created June 30, 2017 00:06
Show Gist options
  • Save RickyAvina/243325164226f4812674c470a44be3c7 to your computer and use it in GitHub Desktop.
Save RickyAvina/243325164226f4812674c470a44be3c7 to your computer and use it in GitHub Desktop.
Remove substring from filename Linux
rename 's/IMG_//g' *.jpg
@RickyAvina
Copy link
Author

This takes out "IMG_" out of a every jpg.

An example file would look like "IMG_65436876.jpg" and become "65436876.jpg"

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