Deleting old OneDrive files

Doing a bit of clean-up.

I worked for a company where I had access to their ONEDRIVE and I used to sync with it. It has created 20gb or so of files on my hdd. They stopped working with ONEDRIVE about 6 months ago so the syncing stopped, we now use a cloud-based solution and I do not need to have local copies anymore. So I am cleaning my machine a little and trying to delete the ONEDRIVE files as they are simply not required on my local machine, I'd quite like the 20gb back.. :-)


The issue - Some of them I can and have deleted but many of the files are coming up with an error message saying that I can not due to permissions. I am the admin of my machine and should have full privileges. Have attached the error message.


Is there a way to force delete via Terminal or mounted as a drive from a networked Mac? I have a few Macs on this network (both ethernet and wifi).



Macmini 2014 - 2.8GHz Intel Core i5, 8GB RAM, MacOS Mojave 10.14.6

Mac mini, macOS 10.14

Posted on Jul 11, 2022 1:05 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 11, 2022 5:35 PM

Well you can use sudo appended to the deletion commands in Terminal, though that can be dangerous.


Are the in your your Hone folder do this...


Do a Get info on your Home folder, unlock the lock in the Get Info panel. Make sure it says you have Read & Write privileges.

Using the tiny gear icon, use the drop down to "Apply to enclosed items...

Similar questions

7 replies
Question marked as Top-ranking reply

Jul 11, 2022 5:35 PM in response to dfcsl

Well you can use sudo appended to the deletion commands in Terminal, though that can be dangerous.


Are the in your your Hone folder do this...


Do a Get info on your Home folder, unlock the lock in the Get Info panel. Make sure it says you have Read & Write privileges.

Using the tiny gear icon, use the drop down to "Apply to enclosed items...

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.

Deleting old OneDrive files

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