Skip to content

Instantly share code, notes, and snippets.

@moreta
Created June 14, 2016 16:32
Show Gist options
  • Select an option

  • Save moreta/1f5b79aacaa3ad1fe0623224dd387bb0 to your computer and use it in GitHub Desktop.

Select an option

Save moreta/1f5b79aacaa3ad1fe0623224dd387bb0 to your computer and use it in GitHub Desktop.
rename_file.sh
brew install rename
rename 's/(.+).html.markdown$/$1.md/' *.html.markdown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment