• 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: Files older than
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Files older than


  • Subject: Re: Files older than
  • From: Robert Peirce <email@hidden>
  • Date: Sat, 12 Apr 2008 16:06:49 -0400

This can be done in a shell script which can be called from Automator. I use the following in my .profile file when I log on.

find /tmp -mtime +30 -exec rm -f {} \; > /dev/null 2>&1

On Apr 12, 2008, at 3:07 PM, Alain Paradis wrote:

Hello all,

I have a specific circumstance where I need to delete files older than a certain age. Would there be a way to find files that are older than two weeks, for example?

This has to be a relative date. I can't say "find files created before April 1, 2008".

Thanks in advance for any assistance.
--
Regards,
Alain Paradis
Registered Graphic Designer

http://www.designschool.ca

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
family.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Automator-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Files older than
      • From: Alain Paradis <email@hidden>
References: 
 >Files older than (From: Alain Paradis <email@hidden>)

  • Prev by Date: Files older than
  • Next by Date: Re: Files older than
  • Previous by thread: Files older than
  • Next by thread: Re: Files older than
  • Index(es):
    • Date
    • Thread