How good is the compression rate of gzip when you use tar with the gzip option? I am pretty amazed that a 1 GB file was reduced to 1019K. This is what I did.
I'm backing up one of my sites, and will be moving to another host. This was an expermintal site, and many of the directories won't be needed.
What tar command is needed to exclude directories from the compressed file? Could you also give an example.
also this might be the same comand, but -... (4 Replies)
Hi,
There are 700 .pdf files in a certain directory on the server and I need to TAR them first and then compress them using GZIP to free up the space. The combined size of the .pdf files is 3gb. However, there is only 1gb of free space on the server. So as you can see when I try to TAR these... (3 Replies)
P0251WLADC.svm_wl1 > /svm_wl1/billing/data/server/archive/ALLEVT
$ du -k FEB2006
22050224 FEB2006
As you can see,i have a folder called "FEB2006" which is around 22 GB.
i guess zip or compress wont work...( i don know how do we compress a folder)
i wished to use ""tar" ( i suppose... (5 Replies)
Hi,
I would like to have a combined gzip and tar that will compress and create multiple output tar.gz files. I want to have multiple files output because i cannot create an archive because there is no more space on my harddisk. I cannot transfer it locally because of slow connection. I want to... (3 Replies)
Hi, is there a way to use compression on the TAR command running on a AIX 4.2 ?
I did a "man tar" but did not see mentions of using compression, nor how to even find out the tar version.
I want to look into ways of reducing the amount of time to do backups. One backup is dumping database... (9 Replies)
Is there a GNU Tar available with compression option available for AIX 4.2 that I can directly use (not having to compile anything, simple installation) ? (1 Reply)
Hi Everyone,
I am a Ph.D student working on some image processing tasks and I have run into an interesting problem that I thought someone on here might have an idea about. This paper discusses a method to compare two images based upon the amount they can be compressed. Sorry, since this is my... (3 Replies)
Hello everyone,
As the title suggests, I am attempting to test adding gzip compression to a connection to an application I am testing. Currently I have the application set up with httptunnel, which forwards the connection to the remote host.
I would like to use a script to intercept the... (5 Replies)
Hi,
I used gzip command to compress a huge tar file. But I saw that compression % was more than 100%.
It might have inflated instead , probably because tar file is already packed properly.
So I thought of unzippping it. Now after unzip I expected the tar file to be of less size than... (12 Replies)
Discussion started by: vinay4889
12 Replies
LEARN ABOUT DEBIAN
gznew
GZNEW(1) General Commands Manual GZNEW(1)NAME
gznew - recompress .Z files to .gz files
SYNOPSIS
gznew [ -ftv9PK] [ name.Z ... ]
DESCRIPTION
gznew recompresses files from .Z (compress) format to .gz (gzip) format. If you want to recompress a file already in gzip format, rename
the file to force a .Z extension then apply gznew.
OPTIONS -f Force recompression from .Z to .gz format even if a .gz file already exists.
-t Tests the new files before deleting originals.
-v Verbose. Display the name and percentage reduction for each file compressed.
-9 Use the slowest compression method (optimal compression).
-P Use pipes for the conversion to reduce disk space usage.
-K Keep a .Z file when it is smaller than the .gz file
SEE ALSO gzip(1), gzmore(1), gzdiff(1), gzgrep(1), gzforce(1), gzexe(1), compress(1)BUGS
gznew does not maintain the time stamp with the -P option if cpmod(1) is not available and touch(1) does not support the -r option.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Availability | SUNWgzip |
+--------------------+-----------------+
|Interface Stability | External |
+--------------------+-----------------+
NOTES
Source for gzip is available in the SUNWgzipS package.
GZNEW(1)