![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Airfoil Speakers for Linux 1.0.0 (Default branch) | iBot | Software Releases - RSS News | 0 | 04-07-2008 09:40 PM |
| tar and gzip | tungaw2004 | UNIX for Dummies Questions & Answers | 3 | 06-22-2007 12:21 AM |
| tar/gzip/gz...which one to use? | abhijeetkul | UNIX for Advanced & Expert Users | 5 | 03-24-2006 12:00 AM |
| TAR and GZIP help | VandeMatram | UNIX for Dummies Questions & Answers | 3 | 03-17-2006 04:35 AM |
| gzip | alisevA3 | UNIX for Dummies Questions & Answers | 2 | 08-12-2004 08:29 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Using gzip and my speakers have gone mad!
Hello,
I wanted to compress a directory which I did with: Code:
tar -czvf backup15062007.tar.gz backup15062007/ Code:
gzip -cvf9 backup15062007.tar.gz backup15062007compress.tar.gz Why is this? Thanks. H. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
You are uncompressing to standard output, i.e. your screen.
Code:
$ gzip --help
gzip 1.3.5
(2002-09-30)
usage: gzip [-acdfhlLnNrtvV19] [-S suffix] [file ...]
-a --ascii ascii text; convert end-of-lines using local conventions
-c --stdout write on standard output, keep original files unchanged
-d --decompress decompress
-f --force force overwrite of output file and compress links
-h --help give this help
-l --list list compressed file contents
-L --license display software license
-n --no-name do not save or restore the original name and time stamp
-N --name save or restore the original name and time stamp
-q --quiet suppress all warnings
-r --recursive operate recursively on directories
-S .suf --suffix .suf use suffix .suf on compressed files
-t --test test compressed file integrity
-v --verbose verbose mode
-V --version display version number
-1 --fast compress faster
-9 --best compress better
--rsyncable Make rsync-friendly archive
file... files to (de)compress. If none given, use standard input.
|
|
#3
|
|||
|
|||
|
I don't follow, surely:
Code:
gzip -cvf9 backup15072007.tar.gz backup15062007compress.tar.gz Why then does that have anything to do with the speakers? The command ran for an hour before I stopped it - the 'dings' were driving me mad. H. |
|
#4
|
||||
|
||||
|
Quote:
Try: gzip -cvf9 backup15072007.tar.gz > backup15062007compress.tar.gz Another thing, compressing a gzip file again will not save any disk space and you will be spending twice the amount of time compressing and extracting the archive. |
|
#5
|
|||
|
|||
|
Ah, I get it now, missed the > sign.
BTW, I had to remove the previously corrupted archive, but: Code:
rm -vf backup15062007.tar.gz Thanks. H. |
|
#6
|
|||
|
|||
|
Fixed with a restart.
Thanks again. H. |
|||
| Google The UNIX and Linux Forums |