Need script to delete folders under 100 mb (Windows)

radiomg

Member
Nov 26, 2020
52
10
8
I have search for a script or commando that deletes all folders in M:Movie that is under 100 mb but cant find anything, only files delete.
Anyone know a commado for that ?
Only folders, not files.

Thanks!
 

PowerPuffGrl

New member
Dec 4, 2020
18
9
3
Try Everything from www.voidtools.com
Enter \Movie to locate everything under that directory and sort by size.
Select and Delete everything you want.

WinDirStat from sourceforge.net/projects/windirstat/ can also help remove file clutter. This may be appropiate if your concerned about folders.
 
  • Like
Reactions: radiomg

radiomg

Member
Nov 26, 2020
52
10
8
Thanks!
I dident get it to work. Its a mounted google drive (rclone) i want to check. When i remove movies in plex, folders and subtitels is left over.
 

PowerPuffGrl

New member
Dec 4, 2020
18
9
3
Sorry, have not tried with google drive.

Everything
Can you turn on 'Index folder size '
www.voidtools.com/support/everything/options/
1. I usually right-click on folder
2. Select 'Open Path'
3. On Explorer click the path one above i.e.
4. The folder will still be selected so you can press the delete button or right-click and delete the the folder


I have not tried the following application. It seems to work with mapped drives.
 
  • Love
Reactions: radiomg

radiomg

Member
Nov 26, 2020
52
10
8
Sorry, have not tried with google drive.

Everything
Can you turn on 'Index folder size '
www.voidtools.com/support/everything/options/
1. I usually right-click on folder
2. Select 'Open Path'
3. On Explorer click the path one above i.e.
4. The folder will still be selected so you can press the delete button or right-click and delete the the folder


I have not tried the following application. It seems to work with mapped drives.
You are the best!
Folder size was just what i needed. Works great! Thanks!
Merry Christmas to you..
 
  • Love
Reactions: PowerPuffGrl

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu