Click to See Complete Forum and Search --> : Compressing files


m3rlin
11-19-2001, 07:10 PM
Hi! how do i compress a file in /dev/hdax to device /dev/hdbx, in zip
like zip <file> path/devhdb1
Thanks

David Dorward
11-19-2001, 07:40 PM
mount the device
cd to the location of the file on the mount point

zip filename


(although I would use a bzip2 instead of zip if it doesn't need to be read on a Windows system)