Free up space OneDrive Command

Browner
New Contributor II

Hello everyone,

Does anyone know the command that will run the 'Free up space' command for the OneDrive folder.

I want to run it after a user has logged out, just wanting to know if this is possible first.

Thanks, Browner.

1 ACCEPTED SOLUTION

AJPinto
Valued Contributor III

This is something I would check with Microsoft on.

 

This may help, but I don't see anything specifically about any CLI interface.

https://docs.microsoft.com/en-us/onedrive/deploy-and-configure-on-macos

 

View solution in original post

3 REPLIES 3

AJPinto
Valued Contributor III

This is something I would check with Microsoft on.

 

This may help, but I don't see anything specifically about any CLI interface.

https://docs.microsoft.com/en-us/onedrive/deploy-and-configure-on-macos

 

Browner
New Contributor II

Thank you, that article led me to this. 

Set Files On-Demand states on Mac - OneDrive | Microsoft Docs

This seems like it is doable, just needs some tinkering.

Thanks!

Great find and I'm going to have to try some of these myself!