Applescript oe shellscript to delete config file?
Hi All,
pls suggest how do i delete config file with permissions, with my scripts .cfg file is not deleting. I tried with applescript and shell script both, but its not working.. and also its not asking for permissions as well..
tell application "System Events"
delete file "/Library/Application Support/Macromedia/abc.cfg"
end tell
do shell script "rm -f /Library/Application Support/Macromedia/abc.cfg"
Mac OS X (10.7.4)