Skip to content

Instantly share code, notes, and snippets.

@ajmeese7
Created September 4, 2022 16:58
Show Gist options
  • Save ajmeese7/c5547a0690e2f45389df900f865ba12f to your computer and use it in GitHub Desktop.
Save ajmeese7/c5547a0690e2f45389df900f865ba12f to your computer and use it in GitHub Desktop.
Mass rename files on Unix
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