Created
November 2, 2015 16:16
-
-
Save jvanja/11df44c6edd89a19e669 to your computer and use it in GitHub Desktop.
Find all files of type of HTML and change their names to index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -name "*.html" -exec bash -c 'cp "{}" "$(dirname "{}")"/index.html' \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment