Created
July 19, 2020 13:57
-
-
Save sk22/2a69735b973fa9994ec0a56c7cb10f28 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
prename -n 's/\d{5}IMG_\d{5}_BURST(\d{8})(\d{6})\d{3}_COVER/IMG_$1_$2/' **/* | |
# 00000IMG_00000_BURST20190829132824951_COVER.jpg -> IMG_20190829_132824.jpg | |
# remove -n to apply changes | |
# requires perl rename |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment