Re: how to remove a file under /Library/Internet Plug-Ins/ using AppleScript
Re: how to remove a file under /Library/Internet Plug-Ins/ using AppleScript
- Subject: Re: how to remove a file under /Library/Internet Plug-Ins/ using AppleScript
- From: Deivy Petrescu <email@hidden>
- Date: Thu, 27 Aug 2009 19:31:00 -0400
On Aug 27, 2009, at 6:05 PM, leon deng wrote:
Hi, guys
Hope everyone doing well!
I am new to AppleScript, and i am not sure how to write an
AppleScript to remove a file under /Library/Internet Plug-Ins/myplugin
I am using packageMaker to copy myplugin file to that directory, and
I need to overwrite it each time. I plan to use AppleScript to
remove older file first.
Any template and ideas?
Thanks!
Leon
This should do it:
do shell script "/bin/rm /Library/Internet Plug-Ins/myplugin"
Deivy Petrescu
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden