Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
I may be slow to respond.

nhelfer

💭
I may be slow to respond.
View GitHub Profile
@nhelfer
nhelfer / fix_onedrive.sh
Created Aug 11, 2020 — forked from drblue/fix_onedrive.sh
Fix OneDrive for Mac CPU usage
View fix_onedrive.sh
#!/bin/bash
## Fix OneDrive for Mac CPU usage
##
## Seems this is still a problem 5 years later after I created this little gist.
## I have long since stopped using OneDrive (luckily), but according to
## comments below, I have added the new path for OfficeFileCache for macOS
## Mojave (10.14) and Catalina (10.15).
## Run this on macOS Mojave (10.14) and Catalina (10.15)
find ~/Library/Containers/ -type d -name OfficeFileCache -exec rm -r {} +
You can’t perform that action at this time.