Go back to topic: Automatically delete empty QubesIncoming subdirectories
test ! -d /home/user/QubesIncoming || find & | test ! -d /home/user/QubesIncoming || find '/home/user/QubesIncoming/' -mindepth 1 -type d -exec rmdir '{}' \; |
test ! -d /home/user/QubesIncoming || find & | test ! -d /home/user/QubesIncoming || find "${path}" -depth -type d -empty -delete |
test ! -d /home/user/QubesIncoming || find /home/user/QubesIncoming/ -mindepth 1 -type d -exec rmdir {} \; | test ! -d /home/user/QubesIncoming || find '/home/user/QubesIncoming/' -mindepth 1 -type d -exec rmdir '{}' \; |
test ! -d /home/user/QubesIncoming || find /home/user/QubesIncoming/ -mindepth 1 -type d -exec rmdir {} | test ! -d /home/user/QubesIncoming || find /home/user/QubesIncoming/ -mindepth 1 -type d -exec rmdir {} \; |
test ! -d /home/user/QubesIncoming || find /home/user/QubesIncoming/ -mindepth 1 - | test ! -d /home/user/QubesIncoming || find /home/user/QubesIncoming/ -mindepth 1 -type d -exec rmdir {} + |
test -d /home/user/QubesIncoming | test ! -d /home/user/QubesIncoming || find /home/user/QubesIncoming/ -mindepth 1 -maxdepth 1 -type d -exec rmdir {} + |