• 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: Delete log files by date
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Delete log files by date


  • Subject: Re: Delete log files by date
  • From: Emmanuel <email@hidden>
  • Date: Fri, 16 Jan 2004 14:11:47 +0100

At 9:20 AM +0000 16/01/04, Buttery, Ian wrote:
>Hi,
>
>Does anyone know of a script which will allow me to delete log files from a folder which are more than 2 days old?

Say it in English:

------------------------------- untested
tell application "Finder" to delete every item of theFolder whose modification date < (get current date)-2*days
-------------------------------

Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Delete log files by date
  • Next by Date: Re: Connect to SMB server
  • Previous by thread: Re: Delete log files by date
  • Next by thread: Re:Delete Log files by date
  • Index(es):
    • Date
    • Thread