Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Whats a good process for archiving cron processed files?

by Roger (Parson)
on Aug 19, 2005 at 12:34 UTC ( #485102=note: print w/replies, xml ) Need Help??


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!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://485102]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2022-12-07 16:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?