find and kill empty folders

Discussion, questions and support.
Post Reply
Message
Author
SeaStar
Posts: 1
Joined: 31.12.2014, 14:59

find and kill empty folders

#1 Post by SeaStar » 31.12.2014, 15:28

Hello

I there an easy way to find and kill all empty folders?

User avatar
Dreamer
Site Admin
Posts: 6113
Joined: 19.08.2007, 23:40

Re: find and kill empty folders

#2 Post by Dreamer » 31.12.2014, 16:57

Hello SeaStar and welcome to the FreeCommander forum.

I'm not sure if there are other ways to achieve this, but this workaround works:

- enable option in menu > view > plain view - folders*
- enable option in menu > folder > size of folders*
- click the title "size auto" or "size" to sort by size (or use menu for other views than Details)
- empty folders will be displayed on top with the size "0 Byte(s)"
- then it's easy to select all and delete (select last 0 Byte folder and press Shift+Home, then Delete)

* it may be slow if you have many files/folders

I recommend to check if the selected folders are really empty before deleting, just press Alt+Enter or right click and select "properties" (while all zero Byte folders are selected).

User avatar
ralfso
Posts: 812
Joined: 31.10.2007, 18:21
Location: Gifhorn, Germany

Re: find and kill empty folders

#3 Post by ralfso » 02.01.2015, 17:10

If you need a little "one-trick-wonder-software" for this you can use:

pcwEmptyFolder: http://www.pcwelt.de/downloads/pcwEmpty ... 11678.html
or
Remove Empty Directories: http://www.jonasjohn.de/red.htm
Regards
Ralf

Win10 (64-bit), Intel i7-2600 (3,4 GHz), 8 GB Ram, 500 GB SSD, 2x2000 GB HD, NVIDIA GeForce 545

stephen147
Posts: 370
Joined: 18.10.2015, 16:44

Re: find and kill empty folders

#4 Post by stephen147 » 12.04.2021, 16:35

RED is starting to get developed again. Such as a great program.

Here's the GitHub
https://github.com/hxseven/Remove-Empty-Directories

Releases
https://github.com/hxseven/Remove-Empty ... s/releases

You could add this to a toolbar in FC and use the %ActivDir%.

Here's my toolbar settings:

cSt9yUeXvt.png
cSt9yUeXvt.png (19.85 KiB) Viewed 9594 times

Open the app and viola, it's REaDy to go. I'll get my coat.
Sceenshots made easy with ShareX.

Post Reply

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 34 guests