Можливо, цей скрипт очищує будь-які гаки "tankitan" під час керування певним зовнішнім гаком (и), для певного користувача1 або імені користувача
(* Ashley Rhodes https://mrashrhodes.wordpress.com/2015/03/18/simple-delete-files-and-folders-script-applescript/ *)
tell application "System Events"
set deleted to POSIX file "/Users/username/Library/Caches/"
tell application "Finder"
delete (files of folder deleted)
delete (folders of folder deleted)
end tell
set deleted to POSIX file "/Users/username/Library/Cookies/"
tell application "Finder"
delete (files of folder deleted)
delete (folders of folder deleted)
end tell
set deleted to POSIX file "/Users/username/Library/Saved Application State/"
tell application "Finder"
delete (files of folder deleted)
delete (folders of folder deleted)
end tell
set deleted to POSIX file "Users/user1/Library/Application Support/Skype/tankitan"
tell application "Finder"
delete (files of folder deleted)
delete (folders of folder deleted)
end tell
end tell
Майте на увазі, навіть a Родос POSIX може заплутатися ...
Управління липка павутина c / o Інтернет речей