Is there an easy way to find and remove all empty directories under a specific path? Since -empty is not available in AIX find command
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
See this link or this link for possibilities.
Also can you use GNU find, installed as part of the linux toolbox in
/opt/freeware/bin/findor/usr/linux/bin/find? For one offs, I use them quite often on AIX5.2+. As part of a script or tool I wouldn’t rely on them however…