• 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: Get physical size of file on mounted disk
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get physical size of file on mounted disk


  • Subject: Re: Get physical size of file on mounted disk
  • From: Jay Louvion <email@hidden>
  • Date: Tue, 10 Mar 2009 20:57:58 +0100
  • Thread-topic: Get physical size of file on mounted disk

Title: Re: Get physical size of file on mounted disk
On 10.03.2009 20:50, "Brian Christmas" <email@hidden> spake thus:


Or even faster...

set mysize to {}
tell application "Finder"
set mysize to (get physical size of every file of entire contents of folder "Yearly Email Storage 2009" of disk "jobs")
end tell
mysize



First of all, thanks for the fast repsonse, Brian (or Santa :) .
Yes, seems great, but in my case, since it’s included in a routine that sifts through every file and get it’s size individually, because I’m sorting files into two stacks (and I need their relative sizes to follow).

I’ll see if your approach can be integrated into my script, but I have the feeling we’re both saying the same thing in pretty similar ways... Have you ever had a problem with missing value ? Because I know a lot of us have, and that’s why I’ve  had to throw the update command around quite a bit...

j.

Jay Louvion
Studio Casagrande
3, rue Müller-Brun
1208 Geneva

T+4122 840 3272
F+4122 840 3271

www.studiocasagrande.com

P Please consider the environment before printing this email.

 _______________________________________________
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: 
 >Re: Get physical size of file on mounted disk (From: Brian Christmas <email@hidden>)

  • Prev by Date: Re: Get physical size of file on mounted disk
  • Next by Date: Re: Getting the Volume Serial Number from a USB Drive?
  • Previous by thread: Re: Get physical size of file on mounted disk
  • Next by thread: Re: Get physical size of file on mounted disk
  • Index(es):
    • Date
    • Thread