• 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: weird behaviour
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: weird behaviour


  • Subject: Re: weird behaviour
  • From: Skeeve <email@hidden>
  • Date: Mon, 28 Jul 2008 17:45:25 +0200

Ronald Hofmann DE schrieb:
By the way, is there an easier way to find files older than two weeks than looping thru a list and make info for for each item of the list?
set posix_paths to paragraphs of (do sehll script "find " & (quoted form of posix path of your_folder) & " -mtime 14")

This will give you a list of all files below "your_path" older than 14*24hours

You could also ad a -delete to the find command if you're sure that you want to remove them without question.
_______________________________________________
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: weird behaviour
      • From: "Mark J. Reed" <email@hidden>
References: 
 >weird behaviour (From: Ronald Hofmann DE <email@hidden>)

  • Prev by Date: Re: weird behaviour
  • Next by Date: Re: weird behaviour
  • Previous by thread: Re: weird behaviour
  • Next by thread: Re: weird behaviour
  • Index(es):
    • Date
    • Thread