Really delete a file via AppleScript
Really delete a file via AppleScript
- Subject: Really delete a file via AppleScript
- From: Neil Faiman <email@hidden>
- Date: Sat, 2 Aug 2003 21:26:55 -0400
Is there a way from AppleScript to completely delete a file (i.e., free
up its space right now, rather than just moving it to the trash)? 'tell
application "finder" to delete file "foo"' moves it to the trash. Of
course, I could do something like 'do shell script ("rm " & posix path
to file foo)', but I'm looking for a "pure" AppleScript solution.
Thanks,
Neil Faiman
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.