Date: Tue, 22 May 2001 14:26:01 +0400 From: "Andrey Simonenko" <simon@comsys.ntu-kpi.kiev.ua> To: "Michael Bartlett" <michael@i-syt.com> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: script to archive old files Message-ID: <013601c0e2a9$9f4f5220$6d36120a@comsys.ntukpi.kiev.ua> References: <03ba01c0e2ae$49847be0$cfe89298@LUCY>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- From: Michael Bartlett <michael@i-syt.com> Newsgroups: lucky.freebsd.questions Sent: Tuesday, May 22, 2001 3:16 PM Subject: script to archive old files > 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 You can find some good examples in /etc/periodic and then write your own. 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?013601c0e2a9$9f4f5220$6d36120a>