macOS background activity

In macOS I have known how to remove Background Activity Apps by deleting their .plist files from the following directories in the System Library folder and hidden User Library folder:


What I did not know, is that you can run a simple command that will reset all background items. And as a side effect it will also reset all login items.

sfltool resetbtm

With sfl standing for SharedFileList.

As always ss64.com is an excellent reference for Command Line references.

https://ss64.com/mac/sfltool.html


https://support.apple.com/en-au/guide/deployment/depdca572563/web

https://www.drbuho.com/how-to/disable-background-items-added-notification

https://ss64.com/mac/sfltool.html