Permanently deleting items with Finder.
Permanently deleting items with Finder.
- Subject: Permanently deleting items with Finder.
- From: Luther Fuller <email@hidden>
- Date: Tue, 2 May 2006 07:33:34 -0500
Jack Crombie asked ...
My script creates a 16 bit /channel version of itself and saves in
a folder called "converted"
I want to permanently delete this folder at the end of my script
without going through the trash.
Is there a way to delete it straight out without going via the
Trash or move it to the trash and delete exclusively this folder?
on remove(itemAlias) -- deletes a file without putting it in the Trash
try
"rm -fr " & (quoted form of POSIX path of itemAlias)
do shell script the result
on error errText number errNr
-- return optional error info here
end try
end remove
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden