-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows version includes files synced from OneDrive/Sharepoint in space calculations #265
Comments
I have this same exact issue. @dundee Please advise. This is the best utility I've found for remote storage investigations but the SharePoint/OneDrive issue is incredibly problematic. |
I am not sure if I we are able to detect whether the file is local or "virtual" and placed in cloud. Can you use |
That's problematic because the intent is to see how much local space is being occupied by locally downloaded SharePoint/OneDrive files. Consider the following scenario (incredibly common with my client environments, and I imagine many others):
gdu should detect a total of 135GB/512GB storage used (75GB + 10GB + 50GB) on the disk. |
The more extreme examples of this are where a 2TB SharePoint is synced with the machine with the same 512GB disk, and it becomes very confusing to do space usage analysis. |
I will try to check if there are some possibilities to detect this. |
It looks like there are Windows filesystem attributes, specifically "RecallOnAccess" and "Unpinned" that, if set, appears to indicate that files are not stored locally. I don't know how hard it would be to programmatically check for this, but it's a thought. |
I'd like to second (3rd) this feature request. |
I use this to do disk space analysis on client workstations without disturbing their work (our remote access tool has a PowerShell that runs as SYSTEM, so I can do this without having to remote in physically to each machine), but lately it seems like gdu is including space consumed by files that exist in SharePoint or OneDrive, which throws off my investigation considerably.
Is there any way to make the app ignore files that don't exist locally and are only cloud synced?
The text was updated successfully, but these errors were encountered: