• 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: AppleScript to erase one mounted volume if it's modification date is date is greater than one day?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript to erase one mounted volume if it's modification date is date is greater than one day?


  • Subject: Re: AppleScript to erase one mounted volume if it's modification date is date is greater than one day?
  • From: 2551 <email@hidden>
  • Date: Sat, 22 Jun 2013 14:39:06 +0700

That’s great work, Kaydell. I find that both System Events and Finder produce the same time.

However, I’m not sure what property ‘modification date’ of the disk is reporting, but on my machine it’s not accurate. Running

tell application "Finder" to get the modification date of the startup disk

reports that the disk was last modified yesterday at 12:04. That’s over 25 hours wrong, as the linked screenshot shows (that search was done before I ran the AppleScript).

https://www.dropbox.com/s/mpztitvbcnqj3ho/lastmodified.png


Thus, I think we need to find a way to get the modified date of the last file to be written to or the user risks possibly losing data.



Phil
http://applehelpwriter.com
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: AppleScript to erase one mounted volume if it's modification date is date is greater than one day?
      • From: Kaydell Leavitt <email@hidden>
References: 
 >AppleScript to erase one mounted volume if it's modification date is date is greater than one day? (From: Jim Kessler <email@hidden>)
 >Re: AppleScript to erase one mounted volume if it's modification date is date is greater than one day? (From: Kaydell Leavitt <email@hidden>)
 >Re: AppleScript to erase one mounted volume if it's modification date is date is greater than one day? (From: "koenig.yvan" <email@hidden>)
 >Re: AppleScript to erase one mounted volume if it's modification date is date is greater than one day? (From: 2551 <email@hidden>)
 >Re: AppleScript to erase one mounted volume if it's modification date is date is greater than one day? (From: Kaydell Leavitt <email@hidden>)

  • Prev by Date: Re: AppleScript to erase one mounted volume if its modification date is date is greater than one day?
  • Next by Date: Re: AppleScript to erase one mounted volume if it's modification date is date is greater than one day?
  • Previous by thread: Re: AppleScript to erase one mounted volume if its modification date is date is greater than one day?
  • Next by thread: Re: AppleScript to erase one mounted volume if it's modification date is date is greater than one day?
  • Index(es):
    • Date
    • Thread