Code Sample |
gunzip myfile.gz # extract the gzip'd myfile (I'm having my doubts that that file is gzip'd though...) mkdir mount # create an empty temp dir for mounting mount -o loop,rw myfile mount # mount it pushd mount # edit files as necessary popd umount mount # unmount it gzip -9 myfile # gzip it back up |