adyanth / QuickLook.Plugin.FolderViewer

Folder viewer plugin for QuickLook
MIT License
133 stars 17 forks source link

Add `Disk size` along `Total size` #17

Open Marocco2 opened 1 year ago

Marocco2 commented 1 year ago

Hi! I use this plugin pretty much to looking into dirs and find which one is taking so much space on my disk, but I found that Total size would only tell me the "nominal" size of a folder and not the real size that weights on my disk. I'll be glad if there is a new voice called Disk size between Total size and Folders that would tell me how much a folder really weights. Thanks

adyanth commented 1 year ago

Calculating size on disk is not that straightforward, it would need the plug-in checking cluster sizes and would not work for all filesystems, with a mixture of compression enabled ones.

https://stackoverflow.com/questions/3750590/get-size-of-file-on-disk

If you are strictly looking at space utilization, I would look into WinDirStat.