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 ( [id://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?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-04-24 20:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found