Last active
September 21, 2018 11:11
-
-
Save occidere/d22d4a1df6d2d45a2a0c705a61c1045c to your computer and use it in GitHub Desktop.
빈 폴더들 삭제
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ "$#" -ne 1 ]; then | |
echo 'Usage: rmedir ${ROOT_PATH}' | |
exit 1 | |
fi | |
find ${1} -type d -depth -empty -print -exec rmdir "{}" \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment