Created
September 4, 2025 17:18
-
-
Save eighty4/ab48c149bbfc23095406d775cda95014 to your computer and use it in GitHub Desktop.
Zsh rename all files preserving ext
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
| autoload -U zmv && zmv 'prev_filename.(*)' 'new_filename.$1' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment