Skip to content

Instantly share code, notes, and snippets.

View lukebarton's full-sized avatar

Luke Barton lukebarton

View GitHub Profile
@ryonlife
ryonlife / touch_gitignore.sh
Created January 10, 2010 20:35
Touch a .gitignore file in all empty directories except the .git folder.
find . \( -type d -empty \) -and \( -not -regex ./\.git.* \) -exec touch {}/.gitignore \;