Date: Mon, 12 May 2003 20:44:16 +0200 From: "Ian Barnes" <ian@cerebellum.za.net> To: "Xpression" <admin@atenas.cult.cu> Cc: freebsd-questions@freebsd.org Subject: RE: Making a shell script... Message-ID: <PPECLBJKHADMJKGPJMEFOEKKCHAA.ian@cerebellum.za.net> In-Reply-To: <000701c318b4$ecb460d0$fe01a8c0@libro>
next in thread | previous in thread | raw e-mail | index | archive | help
> -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@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: > > /mydir/one-dir > /another-one > file1 > file2 > file3 > > 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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > Hi, Stupid question: Why dont you use newsyslog ? /etc/newsyslog #man newsyslog Ian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?PPECLBJKHADMJKGPJMEFOEKKCHAA.ian>