Skip to content

Instantly share code, notes, and snippets.

@staydecent
Created November 17, 2014 17:46
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
  • Save staydecent/30df456f6f536bac7bdd to your computer and use it in GitHub Desktop.
Save staydecent/30df456f6f536bac7bdd to your computer and use it in GitHub Desktop.
File renaming pattern for Fish Shell with OSX sed
# '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