Skip to content

Instantly share code, notes, and snippets.

@jdmonty
Created October 3, 2016 13:12
Show Gist options
  • Select an option

  • Save jdmonty/f1899bd07dae5b202877fd0e79c5ca78 to your computer and use it in GitHub Desktop.

Select an option

Save jdmonty/f1899bd07dae5b202877fd0e79c5ca78 to your computer and use it in GitHub Desktop.
CLI: find and replace on win w/ msysgit *nix tools (find)
find ./ -depth -name '*+*' -execdir bash -c 'mv "$1" "${1//+/-}"' _ {} ;
@jdmonty
Copy link
Author

jdmonty commented Oct 3, 2016

used this to replace '+' plus char in some font file name for css linking to font files e.g. 'Open+Sans_400_normal.woff' google font offline serving up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment