Last active
November 1, 2025 02:27
-
-
Save dominicstop/6809bda4e1da08871262650f1fdfbcc6 to your computer and use it in GitHub Desktop.
Force Kill/Terminate All Adobe-Related Process and Apps in MacOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| declare -a adobeProcessList=('AdobeCRDaemon' 'AdobeIPCBroker' 'com.adobe.acc.installer.v2' 'CCXProcess.app' 'CCLibrary.app' 'Adobe CEF Helper' 'Core Sync' 'Creative Cloud Helper' 'Adobe Desktop Service' 'Creative Cloud'); | |
| for processName in "${adobeProcessList[@]}"; do | |
| pgrep -f "$(echo $processName)" > /dev/null; | |
| if [ $? -ne 0 ]; then | |
| echo "process not running, skipping: ${processName}"; | |
| continue; | |
| fi; | |
| results=$(pgrep -fl "$(echo $processName)"); | |
| echo $results | awk -v pid='' '{pid=$1; $1=""; print "\nkill process:" $0 " (" pid ")"}'; | |
| kill -9 $(echo $results | awk '{print $1}'); | |
| if pgrep -f "$(echo $processName)" > /dev/null; then | |
| killall -9 "$(echo processName)"; | |
| fi; | |
| done; | |
| for processID in $(pgrep -f 'Adobe|adobe'); do | |
| processName=$(ps -p $processID -o command | awk 'FNR == 2 {print}'); | |
| if [ -z "$processName" ]; then | |
| continue; | |
| fi; | |
| echo "kill process:" $processName "\n"; | |
| kill -9 $processID; | |
| done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment