Skip to content

Instantly share code, notes, and snippets.

@jfqd
Created June 14, 2020 12:31
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 jfqd/7079720bed52cbdd3bf08489d480a86b to your computer and use it in GitHub Desktop.
Save jfqd/7079720bed52cbdd3bf08489d480a86b to your computer and use it in GitHub Desktop.
Little app that kills stuck Nexcloud Sync-Client on macOS
-- paste this into the macOS 'Script-Editor.app' and save it as an app
on run
do shell script "ps auxwwww |grep \"MacOS/nextcloud\" |grep -v grep | awk '{print $2}' | xargs kill -9"
end run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment