/bashutils

BASH repo to store useful csh shell scripts for diverse tasks

Primary LanguageShell

bashutils

###BASH repo to store useful bash shell scripts for diverse tasks

rm-empty-dirs.bash

Example: Recursively empty directories rm-empty-dirs.bash /tmp/mydir

  • Note: if there are multiple layers of empty directories you need to run the script multiple times.