Remove all Adobe Apps andFiles

AtillaTheC
Contributor II

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

 

2 REPLIES 2

joshuasee
Contributor III

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. 

noted and removed that line from my script, thanks!