restart mac finder sync extension using shell command

753 views Asked by At

I have a cocoa application with finder sync extension. I want this extension to restart using shell command. Is it possible to restart the finder sync extension?

1

There are 1 answers

0
Liviu On

I also searched for it:

killall Finder

It will restart your Finder and reload the extension.

To add/remove the extension to/from Finder:

pluginkit -r <path to your appex>
pluginkit -a <path to your appex>

But after removal from Finder you still have to stop the extension (by killing it, by exemple).