Librenix  
(Show all Scripting articles . . .
)  
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

Scripting: Convert your gzip files to bzip2

Up
vote
Down

A 'rezip' script that converts your .gz files to .bz2 for better compression and maybe better error recovery -- at a substantial cost in compression time, of course. Rezip...
Uses a simple text file of paths and filenames for input -- so you can save the results of "find" to a file, run rezip, and the files will be re-compressed one at a time, with a running log and no user intervention (as long as there's free space on the destination drive.) Example:

$ find /mnt/bkps -name *.gz > ~/rezipp-files.txt && rezip
 read more | mail this link | score:8051 | -Ray, February 13, 2006
More Sysadmin articles...

Decorate your home or office with Fine Art

admin headlines

Tutorial: Debian / Ubuntu Linux Setup Wireless Access Point

OpenVZ Mount Tutorial: Mount Host Devices, Partitions, Directories in Containers (Debian, Ubuntu)

Configure Apache with Radius Two-Factor Authentication on Ubuntu 12.04

Set up WebDAV with MySQL Authentication on Apache2 (Debian 6)

Tutorial: mod_spdy with Apache2 on Debian 6

Debian packaging Spice-Gtk-0.7.4X on Ubuntu 11.10

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

 
Articles are owned by their authors.   © 2000-2012 Ray Yeargin