Timeline for Applescript Command as Specified User to Delete All Files in a Particular Folder
Current License: CC BY-SA 3.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 23, 2014 at 3:53 | comment | added | Danijel-James W |
This references the files, but how do I use a specific built in user account to delete those files and provide the password to the script too? I can use instead do shell script "rm -rf $HOME/Library/Keychains/*" password "password" with administrator privileges but that assumes the sudo role. I want to specify a particular user to do this. There are multiple built-in administrator accounts on our systems, and they all have different usernames and passwords.
|
|
Jul 22, 2014 at 12:59 | history | answered | adayzdone | CC BY-SA 3.0 |