yd: Use yt-dlp instead of youtube-dl
[sunny256-utils.git] / rensk
blobba1c40ada2469608cbdf7c34ebbb604fe02c7445
1 #!/usr/bin/env bash
3 # rensk
4 # File ID: d938bc4c-3691-11e4-bdd6-c80aa9e67bbd
5 # Remove empty directories under current dir
7 find "$@" -depth -type d -print0 | \
8 grep -azv -e '/\.svn/' -e '/\.git/' -e '\.lock$' -e '\.LOCK$' | \
9 xargs -0 rmdir 2>/dev/null
10 exit 0