The tag has no wiki summary.

learn more… | top users | synonyms

6
votes
2answers
523 views

Add a file to a different path in a zip file

I have a file that placed in the following directory: folder_A/another_folder_A/file_to_add.xml Now, what I want to do is simply add the file to a folder in an existing zip archive. For example ...
1
vote
0answers
12 views

is star faster than GNU and BSD tar? [on hold]

I made serveral runs (create a tarball) on OS X Mavericks with BSD tar, GNU tar and star. star is always the winner. System is iMac (Mid 2010) only running Terminal. root@time var> du -sh log/ ...
13
votes
2answers
385 views

Is that possible to integrate zip and tar.gz files as directory into the file system

I wonder if there is a way to integrate (it's a bit different from mounting, I think) compressed files as directories into the file system? E.g., one could download a compressed-file.tar.gz to his ...
2
votes
3answers
39 views

How to know the path to a specific file in a zip archive, without extracting it?

I only know the filename but not its exact location. I would like to extract only that file from the archive. And I need to know its location in the archive.
8
votes
4answers
103 views

Virtual write-only file system for storing files in archive

I have an embarrassingly parallel process that creates a huge amount of nearly (but not completely) identical files. Is there a way to archive the files "on the fly", so that the data does not consume ...
7
votes
2answers
562 views

Faster alternative to ArchiveMount?

At the moment I am using ArchiveMount to mount a 123,000 kb archive that contains more then 3 million files inside. So far it has been mounting for 5+ hours and still isn't finished. Is there a ...
9
votes
3answers
6k views

Extracting SFX files in Linux

I am trying to extract an SFX file under Linux Mint 15 (64 bit) but it's not working. I've done chmod +x on the file and tried to run it like a script with no luck (it gives me an error that there's ...
1
vote
1answer
39 views

How to extract the Nth file using 7-zip

I have an archive which, for reasons beyond my comprehension, contains 900 files all with the same name. That means that if I ask 7zip to extract them all, at the end there is just one file. The ...
11
votes
4answers
26k views

How to unzip a multipart (spanned) ZIP on Linux?

I need to upload a 400mb file to my web server, but I'm limited to 200mb uploads. My host suggested I use a spanned archive, which I've never done on Linux. I created a test in its own folder, ...
14
votes
5answers
6k views

Is there a parallel file archiver (like tar)?

Is there something out there for parallel archiving of files? Tar is great, but I don't use tape archives, and it's more important to me that the archiving happens quickly (with compression like ...
2
votes
2answers
78 views

What are the differences between split and rar?

I am used to raring files -- but I am looking for something faster. I see that there is a "split" command. How does this command compare to rar? What is are the differences between split and rar?
4
votes
1answer
117 views

How do I hook into Tar with BASH?

Long Story Short I'm working with Tar archives that contain PNG images in base64 encoding. I would like to use BASH (or whatever else works) to hook into the extraction function of Tar to decode PNG ...
3
votes
2answers
500 views

Search for a file inside a tar.gz file without extracting it and copy the result to another folder

I need to search for a file inside a tar.gz file without extracting it. After that, I need to copy the file that was searched (if ever there is) to another folder. So far I have this, but the copy ...
3
votes
2answers
8k views

Can I zip an entire folder using gzip?

I'm trying to zip a folder in unix. Can that be done using the gzip command?
1
vote
4answers
180 views

Command substitution grepping ls output causes error

I'm trying to make a tar.tgz file using command substitution There are backups of 17 Aug 2012 -rw-r----- 1 ossec 502 804M Aug 17 2012 BKPMDISINT_i6nir20j.F_bkp -rw-r----- 1 ossec 502 2.7G Aug 17 ...
3
votes
1answer
128 views

I need an fstab example for archivemount (want to umount without my password)

I am using archivemount to mount one of several tar.bz files in Ubuntu. It works very nicely for me. I mount and umount frequently (I'm in a testing phase). I want a solution that will allow me to ...
-1
votes
1answer
48 views

What are the relative merits of the various standard Unix archival utilities? [closed]

There are many archival tools for Unix, with varying degrees of availability. To make matters more confusing, many of them can write each other's formats. I am seeking more information on their ...
-1
votes
2answers
126 views

How to compress with bzip2 and gzip using xar?

In the "Why Xar" page of the Xar Google Code page it says: Additionally, this means xar can use different compression methods for each file in the archive. For instance, it might not be a good ...
3
votes
2answers
611 views

How do I extract the filesystem image from vmlinux.bin?

jor1k ships a vmlinux.bin. I think there is an initrd inside, cause I don't know where else it would be. I am trying to extract the filesystem image so I can change it, but I don't know how to. I ...
7
votes
4answers
4k views

How do I recursively grep through compressed archives?

I'm trying to find out what modules use Test::Version in cpan. So I've used minicpan to mirror it. My problem is that I need to iterate through the archives that are downloaded, and grep the files ...
9
votes
4answers
548 views

filesystem for archiving

I have some complex read-only data in my file system. It contains thousands of snapshots of certain revisions of a svn repository, and the output of regression tests. Identical files between snapshots ...
1
vote
1answer
199 views

tar -c Error Messages and Source Files?

During a tar archiving operation with tar -cvf archive.tar source does the resulting tar archive that reports a file changed as we read it error still contain "some version" of the source file that it ...
10
votes
5answers
432 views

What Windows-related files are valueless to *nix users?

I have accumulated, from my time using Windows a good quantity of held-over filesystem copies and archives of system and data drives. I am trying to distill them down to the usable parts while ...
1
vote
2answers
198 views

Is it better to archive/move mail based on mtime or ctime?

I have been using a perl script to archive mail found here The script uses ctime to process and decide which month sub folder to place mail. In most cases this is fine since the ctime = mtime and ...
3
votes
1answer
162 views

How to create a folder which will change its contents’ ownership to what the folder has?

In a GNU/Linux OS there is no way to change ownership of a file until you are root. But what if I want to hide my system’s username e.g. before sending a file to someone, because some things like tar ...
1
vote
1answer
368 views

How can I view files in zip using putty?

I want to view file list in zip archive using putty without unzip the archive. Is it possible?
2
votes
1answer
158 views

Backing Up to a Compressed Archive on Linux

How would you go about backing up just some files and subdirectories of a given directory to a compressed archive so that the tree structure could then easily be recreated from that archive. ...
2
votes
1answer
115 views

How to run a command against all the files of particular types on a filesystem?

I've just recovered tons of files (distributed in a complex directory structure, having very long names, using Unicode symbols, spaces etc in names) from a damaged hard drive. Now I'd like to verify ...
2
votes
1answer
266 views

referring to files inside a jar or zip files in Linux

I am wondering if I can refer to files inside JAR or ZIP files using URLs. I mean, without using a tool (such as the Java Jar utility) but just at the operative system level. For example, if I have a ...
2
votes
2answers
126 views

Graphical archive manager that uses /tmp

I am looking for a (preferably) graphical archive manager that can be configured to use /tmp as a scratch area for decompressing. My setup is as follows: I have my local workstation with /home ...
2
votes
2answers
141 views

Archive of QNX's use messages?

Context I do not know all standard linux/unix commands, so I need manpages. I found QNX's manuals (invoked by "use [command name]") terse; I prefer them to linux manpages. I can get them from QNX ...
2
votes
3answers
297 views

Most “effective” archive to convert to

If you are like me, you have tons of archives lying around in different formats (zip, tar, rar, tgz, tar.bz2 etc). In cleaning up my stuff, I have decided to basically leave my archives alone ( and ...
3
votes
0answers
89 views

Configuring networked printer to archive print jobs

Our existing infrastructure has a shared printer running on a windows machine. It may be upgraded to a real network tcp/ip based printer in the near future. How can I make it automatically keep a ...
8
votes
1answer
4k views

How to check/test .tar.bz archives?

I've been using tar with its "--use-compress-prog=pbzip2" function to archive my files then compress them with pbzip2 to get an "*.tar.bz" archive. Afterwards I checked the resulting file with ...
4
votes
3answers
194 views

Indexed archive format?

I need to create compressed archives of files, and be able to quickly extract individual files/directories from them. The problem is, for example, tar.bz2 seems to be not the best choice for such ...
4
votes
1answer
367 views

Can I command 7z to skip compression (but not inclusion) of specific files while compressing a directory with its subs?

There is a feature of the WinRAR (for Windows) archiver I love a lot: it can be set up to skip trying to compress particular files (based on their extension (name pattern)) while including them into a ...
4
votes
1answer
97 views

Utility to easily extract archives

A while back I came across a utility that you could pass an archive to and it would not only take care of figuring out the unarchiver to use, but use the correct command line options, and ensure that ...
4
votes
2answers
2k views

Why doesn't tar ask before overwriting existing files?

I lost a couple hundred lines of a Vim plugin I wrote and continue back up every so often because I extracted a tar file containing an older version. I decided not to use source control management ...
2
votes
2answers
543 views

Creating recursively sorted RAR archive

For various reasons I decided to use RAR archive to store some data, instead compressed tar. Happy with decision, except for one thing: I can't find a way to store files sorted. Order of files is ...
3
votes
1answer
52 views

Is there a GUI tool to show an archive information with ratio visualization?

Is there a GUI tool to show an archive information with ratio visualization like this:
2
votes
0answers
237 views

Creating Windows self-extracting executables that can auto-run a script

Does a tool exist (preferably packaged in Debian) to create Windows self-extracting executables that can auto-run a script in the archive once the extracting is done? I've been toying with NSIS but I ...
6
votes
2answers
464 views

Remove accidentally extracted files [duplicate]

Possible Duplicate: How to de-unzip, de-tar -xvf — de-unarchive in a messy folder? This is a pretty annoying occurrence. Sometimes, I download an archive (tar.gz, tar.bz2, zip, rar, ...
3
votes
2answers
304 views

shell howto: save multiple binary data files (jpg) to one file with some additional data and separate again

I have a system with restricted calculational power (fritzbox) and functions (busybox) and an webcam, able to deliver JPG files. Now I'm looking for for a method (based on shell script) to download ...
7
votes
6answers
4k views

Extracting nested zip files

I have numerous zip archives, each of which contains a number of zip archives. What is the best way to recursively extract all files contained within this zip archive and its child zip archives, that ...
1
vote
1answer
1k 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 ...
5
votes
1answer
524 views

Appending checksum information to file

I'd like to embed checksum information into file, that I transfer. It's tar.gz or tar.xz file and I can only transfer one file to remote side. How do you recommend I embed checksum information? I ...
0
votes
1answer
308 views

How to undo an unrar? [duplicate]

Possible Duplicate: How to de-unzip, de-tar -xvf — de-unarchive in a messy folder? I just extracted a RAR archive that contained a lot of files in the base directory. Assuming that ...
3
votes
2answers
664 views

If I dd a CDROM, then I always get the exact copy of the CDROM?

If I: dd if=/dev/cdrom of=cdrom.iso then I will always get the exact same, bit-by-bitly same image that is the same as the original CDROM? Or are there any methods that prevents copying all the ...
8
votes
2answers
2k views

Fastest way combine many files into one (tar czf is too slow)

Currently I'm running tar czf to combine backup files. The files are in a specific directory. But the number of files is growing. Using tzr czf takes too much time (more than 20 minutes and ...
4
votes
2answers
1k views

What's the difference between tar.gz and tar.Z?

The downloads on this page, e.g. of NetCDF C/C++/Fortran 4.1.3, show tar.Z and tar.gz formats. The tar.Z doesn't even have a configure file in it. What is it used for?