Skip to content

Instantly share code, notes, and snippets.

View iJackUA's full-sized avatar
🦄

Yevhen Kuzminov iJackUA

🦄
View GitHub Profile
# Recursively add a .gitignore file to all directories
# in the working directory which are empty and don't
# start with a dot. Helpful for tracking empty dirs
# in a git repository.
find . -type d -regex ``./[^.].*'' -empty -exec touch {}"/.gitignore" \;