Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2003 14:33:03 -0400
From:      "Xpression" <admin@atenas.cult.cu>
To:        "FreeBSD-questions" <freebsd-questions@FreeBSD.ORG>
Subject:   Making a shell script...
Message-ID:  <000701c318b4$ecb460d0$fe01a8c0@libro>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701c318b4$ecb460d0$fe01a8c0>