• 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: Is Image Disk Trash Empty?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Is Image Disk Trash Empty?
      • From: Christopher Stone <email@hidden>
    • Re: Is Image Disk Trash Empty?
      • From: Sander Tekelenburg <email@hidden>
    • Re: Is Image Disk Trash Empty?
      • From: Luther Fuller <email@hidden>
References: 
 >Is Image Disk Trash Empty? (From: Luther Fuller <email@hidden>)
 >Re: Is Image Disk Trash Empty? (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: Is Image Disk Trash Empty?
  • Next by Date: event log history window
  • Previous by thread: Re: Is Image Disk Trash Empty?
  • Next by thread: Re: Is Image Disk Trash Empty?
  • Index(es):
    • Date
    • Thread