Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2001 14:26:37 -0500
From:      Eric Johnson <eric@coding-zone.com>
To:        Peter Brezny <peter@sysadmin-inc.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: OK Shell Script GURU's  here's another easy one for you.
Message-ID:  <20010129142637.A9180@h0040f6849012.ne.mediaone.net>
In-Reply-To: <004e01c08a28$ccf05000$46010a0a@sysadmininc.com>; from peter@sysadmin-inc.com on Mon, Jan 29, 2001 at 02:22:19PM -0500
References:  <004e01c08a28$ccf05000$46010a0a@sysadmininc.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 29, 2001 at 02:22:19PM -0500, Peter Brezny wrote:
> 
> 
> I'd like to add a line of text to a program that's run by a daily cron job
> that delets all files two weeks old or older.
> 

man find

it has options for file times and can exec rm for you.


-- 
Best Regards,
Eric Johnson            (eric@coding-zone.com && http://www.coding-zone.com)
  
The only "ism" Hollywood believes in is plagiarism.
		-- Dorothy Parker


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010129142637.A9180>