3
votes
0answers
42 views

Compressed file with a header containing all files within it, at the beginning of the file

I have noticed that most files resulting from a compression / archive process do not have a list of the files contained at the beginning of the resulting file, but rather at the end of it. For ...
0
votes
1answer
62 views

Extract specific folder from a tar.gz

I know this question was previously asked on this site before like here 1 and here 2 but no success for me. I want to extract the Measures folder from my S012011_csv.tar.gz zipped file. If I do tar ...
0
votes
0answers
254 views

Download zip/tar Github repository with .git metadata?

I need to download zip/tar Git repositories from Github and get not just the source but also the .git directory. I'm aware I could use git clone, but this is for an tool that runs on systems that may ...
0
votes
2answers
73 views

Does creating a tar file need more space?

HTTP File Server or HFS is a small utility which allows one to share files with others by creating http links for every file Now when I want to download multiple files, the software creates a "tar" ...
1
vote
4answers
186 views

Does archive size of tar, zip and rar effect the time it takes to delete a file from it?

Does it take a longer time to delete files from a large tar zip and rar archive than a smaller one? I would think that for a file to be deleted from an archive, all the data that exists after the ...
3
votes
3answers
364 views

Display deflation percentage of tar command (like zip command)

This question may sound weird but I would like to know if there is a possibility to display the deflation percentage of the files processed in the tar command. I use this command tar -cjvf ...
0
votes
2answers
315 views

TAR or ZIP current directory excluding the generated file

I am trying to zip or tar all the files and subdirectories in current directory and save it to the file I am zipping. The problem is that -x shitch does not work - files are being zipped and saved to ...
1
vote
2answers
105 views

How to extract such a compressed file?

I have been asked to extract a ZIP file having in it 3 tar files and each tar file contains around 3000 gz files. I had to extract the main ZIP file first then extract the tar files second then ...
0
votes
3answers
107 views

How to tar/zip a parent directory exculding a child direcory

I want tar a direcory which contains a number of child directories. But here my requirement is to tar the entire parent direcory excuding one child directory. Is there any command or procedure for ...
0
votes
1answer
134 views

Zip, tar: is there a file table

Is there a file table, or inode structure (like in filesystems) of a zip or tar file?
4
votes
2answers
2k views

Equivalent to tar's “--strip-components=1” in unzip?

I have a script that extracts a tar.gz-file to a speificed subdirectory mysubfolder: mkdir mysubfolder; tar --extract --file=sourcefile.tar.gz --strip-components=1 --directory=mysubfolder; Is there ...
1
vote
3answers
2k views

Is there a command to determine the compression ratio of a tar.bz2 file?

I have a file.tar.bz2 that's about 50GB and would like to extract it however I don't know how much space I will need. Is there a command to print the compression ratio of the tar.bz2 file?
0
votes
1answer
157 views

Looking for a gtk equivalent of ark

Does there exist a GTK equivalent (or improvement) of the Linux archiving tool known as Ark? If so, where might it be found; and if not, how well-received might be a new project which acts as a ...
0
votes
2answers
275 views

Seeking a GUI archiver with the ability to exclude files/folders with tickboxes

I've been searching for a GUI tool to create zip, 7-zip or tar archives that will allow me to include and exclude files and folders using a GUI. The dialog during archive creation should look ...
5
votes
2answers
7k views

What is the fastest compression method for a large number of files?

I need to compress a directory with around 350,000 fairly small files that amount to about 100GB total. I am using OSX and am currently using the standard "Compress" tool that converts this directory ...
4
votes
1answer
811 views

zip/tar/? files with depth parameter

I would like to zip files from a directory but only to a given depth. In the example below I would like to include files until a depth of 3: dir0/ dir1/ dir2 -> subdir1, subdir2 dir3 ...
2
votes
3answers
488 views

Want to zip up folder with 20K images to upload, how to breakup zips and then unzip?

I have a folder with about 1 gig worth of images I have to upload to a server. I want to zip/tar them up, preferably into multiple files that I can upload to my ubuntu server. Then I want to ...
21
votes
7answers
35k views

Which is more efficient - tar or zip compression? What is the difference between tar and zip?

I'm working in Linux environment and want to know about tar and zip commands. Which is more efficient - tar or zip? I also need to know the differences between the tar and zip commands. Can anyone ...
1
vote
4answers
251 views

Zip only public directory

I've a lot of websites (100+ directories) I want to create a unique zip with only public subdirectory. My structure now is like: - Site 1 --- app --- tmp --- log --- public - Site 2 --- app --- ...
1
vote
2answers
815 views

zip file on ubuntu without getting a cpgz file on extraction

I get a cpgz file when trying to extract the contents of a file created on an ubuntu system. Tried with 7zip, rar, zip, tar, nothing works... I really need to get this to work, so if somebody had a ...
12
votes
1answer
240 views

Three formats? Why?

I needed to download the Ruby Source recently from here and it says, "available in three formats" which are .tar.bz2, .tar.gz and .zip. Is there any reason that we need all three formats? At least on ...
19
votes
5answers
16k views

tar – extract discarding directory structure

unzip has a nifty option -j, whereby the directory structure of the archive is discarded, and all files are extracted into the same directory. Is there a way of making tar work in the same way? ...
3
votes
1answer
642 views

Importing to mysql from a .gz via shell - how to do it without extracting to a file? [duplicate]

Possible Duplicate: Pipe gunzip and mysql to gunzip a dump and import it i have a .gz file of an sql dump. at the moment i extract it to its own file (ie dump.sql.gz extracted to dump.sql) ...
17
votes
7answers
14k views

How can I create a zip / tgz in Linux such that Windows has proper filenames?

Currently, tar -zcf arch.tgz files/* encodes filenames in UTF, so Windows users see all characters spoiled in filenames which are not english, and can do nothing with it. zip -qq -r arch.zip files/* ...