Skip to content

Instantly share code, notes, and snippets.

@rc9000
Last active December 4, 2024 10:19
Show Gist options
  • Save rc9000/c0e077e488ce28a460d75171690730c7 to your computer and use it in GitHub Desktop.
Save rc9000/c0e077e488ce28a460d75171690730c7 to your computer and use it in GitHub Desktop.
Delete teams cache without fiddling around with system integrity protection, while having failed with just rm -rf of the directory
Delete teams cache without fiddling around with system integrity protection,
while having failed with just rm -rf of the directory
("Operation not permitted"):
stop teams
~$ cd ~/Library/Containers/com.microsoft.teams2
~/Library/Containers/com.microsoft.teams2 $ find . -delete
find: -delete: unlink(./.com.apple.containermanagerd.metadata.plist): Operation not permitted
# five more minutes, this will now delete some thousand files one-by-one
start teams
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment