adileo / squirreldisk

Beautiful, Cross-Platform and Super Fast Disk Usage Analysis Tool - Built With Rust 🦀
https://squirreldisk.com
GNU Affero General Public License v3.0
741 stars 24 forks source link

SquirrelDisk does not accurately handle cloud storage locations #25

Open d3xbot opened 9 months ago

d3xbot commented 9 months ago

I have a Windows 10 system with a 220 GB SSD and OneDrive syncing files. The way I've got my OneDrive set, it keeps most files online-only and downloads them just in time. As you can see in this screenshot, my OneDrive folder is only storing 2.8 GB of stuff on my PC right now: image

When I ran a scan using SquirrelDisk, you can imagine my surprise when it showed the Users folder being larger than my whole SSD! image

Drilling down to see what was going on, I saw that it's counting the full size of the files stored in OneDrive - not just the size on-disk: image

Looking at the issue tracker, it appears that this isn't an OS-specific bug (see #24 for a Mac example). I'm not sure if it's the way cloud storage apps report file size or how this app reads that size data