We Want to Hear From You! What Do You Want to See on the Community? Tell us here!

Forum Discussion

Francine G.3's avatar
Francine G.3
Explorer | Level 4
5 years ago
Solved

How can I find empty subfolders without opening all folders (I have a lot of nested folders)

I have a lot of folders nested in folders (sometimes nested in nested folders).  I suspect some of them are empty.  Is there a way to do that without having to open each folder separately to get to the subfolders?  I tried sorting on size using the direction you posted to Avik on 5/15/19 at 2:49- but that doesn't help.

 

Thanks.

  • If you're on Mac or Linux, you could open a terminal and run

    find ~/Dropbox -type d -empty

    (assuming Dropbox is in your home directory), to locate all of them.

3 Replies

Replies have been turned off for this discussion
  • Jay's avatar
    Jay
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    5 years ago

    Hi Francine G.3, thanks for posting today!

     

    Currently, there isn't a way to detect empty folders automatically via the site. Calculating the folder size would show the sizes, but you'd need to recalculate if you you navigate away from that folder.

     

    If you wish, you can suggest this change for others to vote on, so the dev team can look into this in future!

  • zacanger's avatar
    zacanger
    Helpful | Level 6
    5 years ago

    If you're on Mac or Linux, you could open a terminal and run

    find ~/Dropbox -type d -empty

    (assuming Dropbox is in your home directory), to locate all of them.

About Delete, edit, and organize

Solve issues with deleting, editing, and organizing files and folders in your Dropbox account with support from the Dropbox Community.

Need More Support

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!