[nmglug] Bash Scripting help
Karl Hegbloom
karlheg at laclinux.com
Wed Mar 30 15:08:13 PST 2005
On Wed, 2005-03-30 at 14:57 -0800, Karl Hegbloom wrote:
> On Wed, 2005-03-30 at 12:47 -0800, Tim Emerick wrote:
> > I've been working on a bash backup script that runs as a cron job. To say
> > it's inelegant is an understatement at best. I could use some advice on
> > structure and output.
> >
> > 1. Rotating backup sets is tedious if I wanted to add or delete the number of
> > sets to retain. Is there a way to loop using a variable?
>
> There is a script called "logrotate" in Debian that does what you want.
I have that wrong... it's "savelog". "logrotate" is a different thing.
More information about the nmglug
mailing list