Created
September 4, 2022 16:58
-
-
Save ajmeese7/c5547a0690e2f45389df900f865ba12f to your computer and use it in GitHub Desktop.
Mass rename files on Unix
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
sudo apt install rename | |
# NOTE: The `-n` means it will be a dry run, remove that to go through with the action. | |
# Source: https://askubuntu.com/a/283146/1071040 | |
rename -v -n 's/-symbolic.svg/.svg/' */*/*.svg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment