[Level 2] Remove all folders without any file.

If you want to remove all folders without any file, you can use the command to remove it.
# find ./ | sort -r | xargs rmdir 2>/dev/null

Wish this helps.

regards,
Stanley Huang

Comments

Post a Comment

Popular posts from this blog

[Level 1] Rar tool for Solaris.

[Level 2] iif in Python