Posted on 12-14-2022 09:08 AM
Unsure if you will find this handy. I wanted to find a way to quit all Adobe processes and delete all adobe files. Made this script which seems to do the trick!
#!/bin/bash
##kills all adobe processes
pkill -f Adobe
pkill -f adobe
##Removes all Adobe applications and files
rm -rf /Applications/Adobe* /Applications/Utilities/Adobe* /Library/Application\ Support/Adobe /Library/Preferences/com.adobe.* /Library/PrivilegedHelperTools/com.adobe.* /private/var/db/receipts/com.adobe.* ~/Library/Application\ Support/Adobe* ~/Library/Application\ Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.adobe* ~/Library/Application\ Support/CrashReporter/Adobe* ~/Library/Caches/Adobe ~/Library/Caches/com.Adobe.* ~/Library/Caches/com.adobe.* ~/Library/Cookies/com.adobe.* ~/Library/Logs/Adobe* ~/Library/PhotoshopCrashes ~/Library/Preferences/Adobe* ~/Library/Preferences/com.adobe.* ~/Library/Preferences/Macromedia* ~/Library/Saved\ Application\ State/com.adobe.*
exit 0
12-14-2022 09:39 AM - edited 12-14-2022 09:40 AM
Beware this might miss Adobe passwords and certificates in keychains, and possibly ColorSync profiles.
Modifying LSSharedFileList using the filesystem rather than the built in tools has a substantial risk of side effects, and changes should probably be followed by a reboot.
Posted on 12-14-2022 11:44 AM
noted and removed that line from my script, thanks!