Change icns in macOS to gray color via bash or other script

bashicon

I want to change icns (Application icons) in macOS applications to gray color. Is there is any script (bash or AppleScript) to do this?

I need a script because applications folder always changing and no way to change everytime icons in this folder.

Best Answer

In general, no. Each application is sandboxed, code signed and updated by the Mac App Store update process. Some apps are restricted by system integrity protection.

In specific yes, you could disable sip if needed. You could disable gatekeeper and modify the app and re-enable gatekeeper. The engineering work to maintain a general script would be days to get a framework done and then hours to days Pre update.