http://qs321.pair.com?node_id=485102


in reply to Whats a good process for archiving cron processed files?

Why don't you use the stock standard tar utility? Ok, I mean there are multiple versions of the tar program, but I am talking about the latest version of gnu tar.

You can do something along the lines of:
`tar -zcvf $archive.$year$month$day.gz /home/reports/ftp/WSB/*$year$mo +nth$day*`

Replies are listed 'Best First'.
Re^2: Whats a good process for archiving cron processed files?
by jimbus (Friar) on Aug 19, 2005 at 13:07 UTC
    I'd really like them compressed in some format or another
    Never moon a werewolf!
      It does. -z compresses.
      -z --gzip --gunzip Filter the archive through gzip(1).
        That must be a fancy linux/freebsd thing, sun 5.8 does not.

        Never moon a werewolf!