From owner-freebsd-questions Tue May 22 4:16:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from eyemax.eye2eye.net (eyeland.eye2eye.co.za [196.31.83.226]) by hub.freebsd.org (Postfix) with ESMTP id 08A7737B43C for ; Tue, 22 May 2001 04:16:19 -0700 (PDT) (envelope-from michael@i-syt.com) Received: from LUCY (213.86.13.163 [213.86.13.163]) by eyemax.eye2eye.net with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id KV7VM6KJ; Tue, 22 May 2001 12:52:17 +0200 Message-ID: <03ba01c0e2ae$49847be0$cfe89298@LUCY> From: "Michael Bartlett" To: Subject: script to archive old files Date: Tue, 22 May 2001 11:59:10 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_03B7_01C0E2B6.9CCF4B10" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_03B7_01C0E2B6.9CCF4B10 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hi there i'm running out of hdd space at a rapid rate i'm trying to figure out how to write a script that will - gzip all files in a directory that are older than 2 months - email the gzip to me - delete the files that were gzipped the few attempts that i have made have been disasterous! i'm by no means a l33t ninja scrpiter! could anyone lend a hand please? cheers mike ------=_NextPart_000_03B7_01C0E2B6.9CCF4B10 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
hi there
i'm running out of hdd space at a rapid = rate
i'm trying to figure out how to = write a script=20 that will
 
 - gzip all files in a directory = that are=20 older than 2 months
 - email the gzip to = me
 - delete the files that were=20 gzipped
 
the few attempts that i have made have = been=20 disasterous!
i'm by no means a l33t ninja = scrpiter!
 
could anyone lend a hand = please?
cheers
mike
------=_NextPart_000_03B7_01C0E2B6.9CCF4B10-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message