| CPUG | |
| The Check Point User Group | |
| A Resource For The Check Point Community. Fast. Useful. Independent. | |
|
| |||||||
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| What is the process of zipping files to compress them? My /var is at 82% so I am a little uncomfortable. I have my logs switch on a daily basis. My /var/opt/CPfw1-R55p/log directory is very large. I would like to compress it and move the files somewhere off the box. Is there a command for zipping log files a month at a time? I would like to zip them in directories for the month of generation. Thanks, Joe |
| |||
| Quote:
Compress: gzip archive.tar Decompress: gunzip archive.tar.gz tar c dir/ | bzip2 > dir.tar.bz2 Run a cron job which takes all the log files for that month and archives them to create a gzip file with date and time stamp as the name. __________________ Cheers, GodSpeedCapri |
![]() |
| Thread Tools | |
| Display Modes | |
| |