Making a shell script...
ian at cerebellum.za.net
Mon May 12 11:44:43 PDT 2003
> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Xpression
> Sent: 12 May 2003 08:33 PM
> To: FreeBSD-questions
> Subject: Making a shell script...
> Hi guys:
> I try to make a script to rotate some log files every month,
> file must be appear like this (Month-Year.tgz)...the question
> is: how can
> I compress all files in a sub-dir that contains many sub-dirs without
> compress sub-dirs too...sample:
> I try to tar & compress file[1..3] without compress /one-dir, /another-one
> directories...I'm already looked at man pages without a response...thanks
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
Stupid question: Why dont you use newsyslog ? /etc/newsyslog
More information about the freebsd-questions