Skip to content

Instantly share code, notes, and snippets.

@micahblu
Created March 18, 2015 17:19
Show Gist options
  • Save micahblu/312cd787051e2879d521 to your computer and use it in GitHub Desktop.
Save micahblu/312cd787051e2879d521 to your computer and use it in GitHub Desktop.
Make duplicate .htm files from .html files
find . -name "*.html" -exec bash -c 'cp "$1" "${1/.html/.htm}"' -- {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment