• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: how to remove a file under /Library/Internet Plug-Ins/ using AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >how to remove a file under /Library/Internet Plug-Ins/ using AppleScript (From: leon deng <email@hidden>)

  • Prev by Date: how to remove a file under /Library/Internet Plug-Ins/ using AppleScript
  • Next by Date: Re: Slowing Down
  • Previous by thread: how to remove a file under /Library/Internet Plug-Ins/ using AppleScript
  • Next by thread: Snow Leopard AppleScript Release Notes
  • Index(es):
    • Date
    • Thread