-
-
Save RafalSladek/49a596b236a1f8f49e2fa74a62ff6644 to your computer and use it in GitHub Desktop.
File renaming pattern for Fish Shell with OSX sed
This file contains 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
# 'Item*' it the pattern to look for | |
# sed "s/I/i/g" is the replacement pattern | |
for f in Item*; mv $f (echo {$f} | sed "s/I/i/g"); end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment