Created
June 30, 2017 00:06
-
-
Save RickyAvina/243325164226f4812674c470a44be3c7 to your computer and use it in GitHub Desktop.
Remove substring from filename Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rename 's/IMG_//g' *.jpg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This takes out "IMG_" out of a every jpg.
An example file would look like "IMG_65436876.jpg" and become "65436876.jpg"