Find empty folders

find -type d -empty lists every folder with nothing in it. Look at the list first; adding -delete removes them, and only ever removes folders that are truly empty.

How

List the empty folders under Documents:

find ~/Documents -type d -empty

When the list looks right, remove them:

find ~/Documents -type d -empty -delete

Some apps keep empty folders on purpose and recreate them. Stick to folders you made.

Or just ask Titan
Clean up the empty folders in my Documents, but show me the list first. Do it with Titan

Titan is an AI that lives on your computer: tell it what you need and it does it while you watch — you press Return, nothing runs by itself. What is Titan?

Titan isn’t on this computer yet. Get Titan, then press the button again — the task will be waiting, typed in.

Related

Clean up old files in DownloadsFind duplicate files