Re: Is Image Disk Trash Empty?
Re: Is Image Disk Trash Empty?
- Subject: Re: Is Image Disk Trash Empty?
- From: Luther Fuller <email@hidden>
- Date: Tue, 25 Jan 2011 12:13:49 -0600
On Jan 25, 2011, at 11:52 AM, Luther Fuller wrote: I didn't quit experimenting, and this handler seems to work ...
on TrashIsEmpty(diskAlias) quoted form of (POSIX path of ((diskAlias as text) & ".Trashes:")) set sizeText to do shell script "ls -Rsk " & the result
I spoke too soon. The last line, above, always returns ...
ls: :Permission denied
because .Trashes folder permission is always set to "Write only (Drop Box)". (I had forgotten that I had changed permission on my test disk.) Is there any way to get around this problem?
|
_______________________________________________
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