-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathClean_Chrome.scpt
More file actions
8 lines (8 loc) · 876 Bytes
/
Copy pathClean_Chrome.scpt
File metadata and controls
8 lines (8 loc) · 876 Bytes
1
2
3
4
5
6
7
8
--Deletes all folders and subfolders from ~/Library/Application Support/Google/Chrome/, except Default.
do shell script "find ~/Library/Application\\ Support/Google/Chrome/* ! -name 'Default' -type d -exec rm -rf {} +"
--Deletes all files from ~/Library/Application Support/Google/Chrome/, except Local State, First Run, Last Version, Bookmarks, Preferences and Secure Preferences.
do shell script "find ~/Library/Application\\ Support/Google/Chrome/ ! -name 'First Run' ! -name 'Last Version' ! -name 'Local State' ! -name 'Bookmarks' ! -name 'Preferences' ! -name 'Secure Preferences' -type f -exec rm -f {} + "
--Deletes ~/Library/Caches/Google/Chrome
do shell script "rm -rf ~/Library/Caches/Google/Chrome"
--Deletes ~/Library/Saved Application State/com.google.Chrome.savedState
do shell script "rm -rf ~/Library/Saved\\ Application\\ State/com.google.Chrome.savedState"