Skip to content

Instantly share code, notes, and snippets.

@mwollenweber
Last active December 9, 2023 18:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mwollenweber/9ef0da8f1ff3e7b0e40524f3d58ca18b to your computer and use it in GitHub Desktop.
Save mwollenweber/9ef0da8f1ff3e7b0e40524f3d58ca18b to your computer and use it in GitHub Desktop.
Clean OneDrive on MacOS Aggressively
open /Applications/OneDrive.app/Contents/Resources/ResetOneDriveAppStandalone.command
open /Applications/OneDrive.app/Contents/Resources/RemoveOneDriveCreds.command
rm -rf ~/Library/Application\ Support/com.microsoft.OneDrive
rm -rf ~/Library/Application\ Support/OneDrive
rm -rf ~/Library/Caches/com.microsoft.OneDrive
rm -rf ~/Library/Caches/OneDrive
rm -rf ~/Library/Caches/com.microsoft.OneDrive
rm -rf ~/Library/CloudStorage/OneDrive*
rm -rf ~/Library/Containers/com.microsoft.com.OneDrive*
rm -rf ~/OneDrive*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment