Me preguntaba si alguien me puede dar algún consejo sobre cómo puedo usar Apple script para eliminar esta carpeta.
Usuarios / usuario1 / Biblioteca / Soporte de aplicaciones / Skype / tankitan
Me preguntaba si alguien me puede dar algún consejo sobre cómo puedo usar Apple script para eliminar esta carpeta.
Usuarios / usuario1 / Biblioteca / Soporte de aplicaciones / Skype / tankitan
tell application "Finder" to delete ((POSIX file "/Users/user1/Library/Application Support/Skype/tankitan") as alias)
Quizás esta secuencia de comandos borra cualquier enganche 'tankitan' al administrar un o más ganchos externos específicos, para cierto usuario1 o nombre de usuario (s)
(* 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
Eso sí, incluso un Rhodes POSIX puede enredarse ... Administrar sticky-web c / o Internet of Things
Lea otras preguntas en las etiquetas applescript