Skip to content

Instantly share code, notes, and snippets.

@dunckr
Last active January 19, 2016 09:23
Show Gist options
  • Save dunckr/2f31b4df5488c43a3d99 to your computer and use it in GitHub Desktop.
Save dunckr/2f31b4df5488c43a3d99 to your computer and use it in GitHub Desktop.
" find all files and move up dir and rename
find */*.md | while read file; do mv $file ${file/\/index/""}; done;
" remove first 7 characters from all svgs
for x in *.svg; do mv $x `echo $x | cut -c 7-` ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment