tell application "Finder"
set mydesktop to desktop as alias
set desktopsize to my sizeof(mydesktop)
end tell
to sizeof(a)
set a to quoted form of (POSIX path of (a))
return (word 1 of ((do shell script "du -ks " & a)) as integer)
end sizeof
Your email is never published nor shared. Required fields are marked *
You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
CAPTCHA: + seven = 10
Notify me of followup comments via e-mail
Subscribe without commenting E-Mail:
Dateigröße in Kilobyte, auch für Ordner
tell application "Finder"
set mydesktop to desktop as alias
set desktopsize to my sizeof(mydesktop)
end tell
to sizeof(a)
set a to quoted form of (POSIX path of (a))
return (word 1 of ((do shell script "du -ks " & a)) as integer)
end sizeof