Tagged Questions
8
votes
3answers
232 views
Universal extractors
With an increasing number of archive/compression file formats, is there a single free/open-source command line tool to rule them all? Perhaps something with a consistent / unified set of flags? (note ...
1
vote
1answer
61 views
Difference between --xz and --lzma in GNU tar?
As far as I can tell, XZ is a container that uses the LZMA2 algorithm (i.e. extended LZMA); but e.g.
$ xz foo/
complains about foo/ being a directory. So presumably the correct way to preserve ...
3
votes
8answers
1k views
Triple compression and I only save 1% in space?
I've been trying to save space on my linux server, and I had a folder containting, in subfolders, 22GB of images.
So I decided to compress them.
First I used tar:
tar -zcf folder.tar folder
Then ...
0
votes
2answers
75 views
Can tar archiver zerofill a file?
I have received a tar archive from a co-worker and after decompresing I found that some text files are corrupted. More precisely they are filled with zeros. They have correct size but all bytes are ...
5
votes
1answer
185 views
On the Fly Compression for a Directory
I have a directory that is always going to be storing text files that are rarely (think weekly) used. Naturally this is a great place to use compression. However, rather than having to use tar ever ...
2
votes
2answers
124 views
Different count for compressed file listing vs directory listing
I was taking a backup of a folder, where I used the following command :
sudo tar -zcvf www.tar.gz /var/www/
It successfully compressed, just for verifying the number of files in the compressed ...
9
votes
3answers
4k views
How to XZ a directory with TAR using maximum compression?
So I need to compress a directory with max compression.
How can I do it with xz? I mean I will need tar too because I can't compress a directory with only xz. Is there a oneliner to produce e.g. ...
8
votes
2answers
1k views
How to create a tar.gz file from a folder excluding a folder
How do I exclude a file or folder while creating a tar.gz file with tar command?
1
vote
1answer
536 views
Updating tar.gz daily only with changed files [duplicate]
Possible Duplicate:
Add/update a file to an existing tar.gz archive?
I have some game files I wish to update daily and they create a tar.gz of the folder, but instead of making a full ...