Skip to content

Instantly share code, notes, and snippets.

@jlollis
Last active October 17, 2019 20:47
Show Gist options
  • Save jlollis/5ade05a3bcb0cc696bc8c0c813197003 to your computer and use it in GitHub Desktop.
Save jlollis/5ade05a3bcb0cc696bc8c0c813197003 to your computer and use it in GitHub Desktop.
recursive gitkeep in bash
find . -type d -empty -not -path "./.git/*" -exec touch {}/.gitkeep \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment