Skip to content

Instantly share code, notes, and snippets.

@corysolovewicz
Last active July 29, 2024 06:12
Show Gist options
  • Save corysolovewicz/55b67fa3e1315b653c0552572e9e86b2 to your computer and use it in GitHub Desktop.
Save corysolovewicz/55b67fa3e1315b653c0552572e9e86b2 to your computer and use it in GitHub Desktop.
Recursively create an empty index.html file in all directories which currently do not have one.
# run this command in the root web directory
find . -type d -exec touch {}/index.html \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment