Where are the Onedrive documents stored ?

Hello, I have a MacBook Pro with 500 Go HDD, and I saw I was running out of space (only 90 Go left) although I only have like 170 Go of personal files (documents, music, ...) synced with OneDrive.


Investigating a bit, I discovered that the Library folder was taking a lot of space :


sudo du -h -d 1 /Users/currentuser/Library/Group\ Containers/UBF8T346G9.OneDriveStandaloneSuite/OneDrive.noindex/OneDrive
155G /Users/currentuser/Library/Group Containers/UBF8T346G9.OneDriveStandaloneSuite/OneDrive.noindex/OneDrive/Documents Sync
7,1G /Users/currentuser/Library/Group Containers/UBF8T346G9.OneDriveStandaloneSuite/OneDrive.noindex/OneDrive/Camera Roll
 32K /Users/currentuser/Library/Group Containers/UBF8T346G9.OneDriveStandaloneSuite/OneDrive.noindex/OneDrive/VTO2000 motion snapshots
162G /Users/currentuser/Library/Group Containers/UBF8T346G9.OneDriveStandaloneSuite/OneDrive.noindex/OneDrive


... So I wanted to know if it was normal the personal files I sync with Onedrive are stored in this "Library" Folder ... or if something went wrong during an update ...


I also wonder where my personal files are normally stored on my Macbook when you sync them with OneDrive ?


MBP-de-Cedric:OneDrive.noindex currentuser$ sudo du -h -d 1 /Users/currentuser/Library/Group\ Containers/UBF8T346G9.OneDriveStandaloneSuite/OneDrive.noindex/OneDrive
155G   /Users/currentuser/Library/Group Containers/UBF8T346G9.OneDriveStandaloneSuite/OneDrive.noindex/OneDrive/Documents Sync
7,1G   /Users/currentuser/Library/Group Containers/UBF8T346G9.OneDriveStandaloneSuite/OneDrive.noindex/OneDrive/Camera Roll
 32K   /Users/currentuser/Library/Group Containers/UBF8T346G9.OneDriveStandaloneSuite/OneDrive.noindex/OneDrive/VTO2000 motion snapshots
162G   /Users/currentuser/Library/Group Containers/UBF8T346G9.OneDriveStandaloneSuite/OneDrive.noindex/OneDrive




MBP-de-Cedric:Documents Sync currentuser$ sudo du -h -d 1 /Users/currentuser/Documents/OneDrive/Documents\ Sync
5,2G   /Users/currentuser/Documents/OneDrive/Documents Sync/Documents Cedric
  0B   /Users/currentuser/Documents/OneDrive/Documents Sync/Documents Alessio
 16K   /Users/currentuser/Documents/OneDrive/Documents Sync/Documents Nada
8,0K   /Users/currentuser/Documents/OneDrive/Documents Sync/Documents Flavia
 16K   /Users/currentuser/Documents/OneDrive/Documents Sync/Documents Inès
5,2G   /Users/currentuser/Documents/OneDrive/Documents Sync


Many thanks !!

MacBook Pro 13″, macOS 12.2

Posted on Jan 30, 2022 1:07 AM

Reply

Similar questions

3 replies

Jan 30, 2022 11:41 PM in response to Joveps

I found out exactly the same ... in the oneDrive app, it still tells if you look correctly the location of the documents being

/Users/currentuser/Documents/OneDrive/Documents Sync/


... and you can find the structure there but in fact the real data is well in the Library folder at something like :


/Users/currentuser/Library/Group Containers/UBF8T346G9.OneDriveStandaloneSuite/OneDrive.noindex/OneDrive/Documents Sync

Jan 30, 2022 6:14 PM in response to cdelecole

The latest OneDrive update changed everything around. It doesn't make sense at all. My OS resides on a 1TB drive.... I have close to 4TBs in OneDrive... Causing so many issues because it doesn't fit in the OS drive now... besides, everything else just bloated. I used to have the OneDrive folder reside on a separate 6TB folder (RAID), but now it changed the location to the OS drive Library folder. We used to be able to choose the location of OneDrive to store data,,, but now that option has been removed. It forces everything to the Library folder... Microsoft really screwed up things here. Let me know if someone with OneDrive experience replies and gets a good explanation for why they did this.....

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Where are the Onedrive documents stored ?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.