Created
August 7, 2020 06:15
-
-
Save seym45/3008de4d6467f4255c0d902db3a2fab9 to your computer and use it in GitHub Desktop.
add prefix to all filenames of current directory where filenames are ended with .jpeg
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
# change prefix | |
prefix="someprefix_" | |
for filename in *.jpeg; do mv ${filename} ${prefix}${filename}; done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment