Delete Apple Apss

Raj_Jenkin
New Contributor

Here's the script for deleting Apple Apps

!/bin/zsh

echo "your admin password" | sudo -S -k rm -rf /Applications/iMovie.app -n 1

echo "your admin password" | sudo -S -k rm -rf /Applications/Numbers.app -n 1

echo "your admin password" | sudo -S -k rm -rf /Applications/Keynote.app -n 1

echo "your admin password" | sudo -S -k rm -rf /Applications/Pages.app -n 1

echo "your admin password" | sudo -S -k rm -rf /Applications/GarageBand.app -n 1

exit 0

FYI, your password only deletes the "quotes."

0 REPLIES 0