logo

blog

My cute blog can’t be this disorganised!
commit: 3bbf4e050b852476fe7982158ad222c96d6ab207
parent: f1db9d25097806314de586f6491e0e896744f19c
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue,  2 Jan 2018 01:42:26 +0100

notes/tips.md: + remove empty directories

Diffstat:

notes/tips.md | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/notes/tips.md b/notes/tips.md @@ -2,3 +2,8 @@ ```shell $ truncate --size 0 file_to_remove ``` + +## Remove empty directories +```shell +find . -type d -empty -exec rmdir "{}" \; +```