Last active
May 17, 2025 18:19
-
Star
(148)
You must be signed in to star a gist -
Fork
(25)
You must be signed in to fork a gist
-
-
Save drblue/6fdc431396760f2440ce to your computer and use it in GitHub Desktop.
Revisions
-
drblue revised this gist
Apr 15, 2020 . 1 changed file with 10 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,13 @@ #!/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 {} + ## Run this if you're on pre-Mojave (< 10.14) find ~/Library/Group\ Containers/ -type d -name OfficeFileCache -exec rm -r {} + -
drblue created this gist
May 20, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ #!/bin/bash find ~/Library/Group\ Containers/ -type d -name OfficeFileCache -exec rm -r {} +