The archive tag has no wiki summary.
1
vote
1answer
11 views
Unzip all non-existing or older files from archive
The behaviour I'd like with unzip is to extract all files, overwriting any that are older than those in the archive, not touching any that are the same age or newer, and to never prompt.
The options ...
6
votes
2answers
161 views
Is there a way to convert a zip to a tar without extracting it to the filesystem?
Is there a way to convert a zip archive to a tar archive without extracting to a temporary directory first? (and without writing my own implementation of tar or unzip)
3
votes
1answer
27 views
rsync archive mode
I have been reading plenty of articles regarding rsync and its -a switch. As per theory, I have understood that it preserves a lot of properties like permission, time, group, owner, etc., but why ...
2
votes
1answer
52 views
Create animated WebP file from WebP files?
I have converted a sequence of images to WebP, and I want to compile them into an animation. I downloaded libwebp, but it's a tar.gz archive and I don't know how to install those.
Is there another ...
0
votes
0answers
16 views
Archives used for software packaging and distribution [duplicate]
I want to list & know information on various archives used for software packaging and distribution regrading which Linux distribution using which?
(Ex: Deb archive used by Debian, Ubuntu and Mint ...
2
votes
1answer
20 views
appendable and greppable archive on CentOS to hold many log files (logrotate on steroids)
I have a bunch of applications on a CentOS 6.3 box, which generate daily logs (text files with a very similar content) in this vein:
/data/logs/app/my-2014-06-29.log
...
5
votes
3answers
184 views
Multiple tar processes writing to the same archive file at once
I am running many tasks on a Linux cluster. Each task creates many output files. When all tasks are finished, I run something like tar cf foo.tar output_files/to create a tar archive. This is a very ...
1
vote
1answer
24 views
Un-archiving single file hanging
I am trying to unarchive a very large directory. Here is what works to untar the entire thing:
$ sudo tar -xjf itunes20140618.tbz --verbose
x itunes20140618/
x itunes20140618/genre_artist
x ...
3
votes
2answers
87 views
what are the techniques to extract files safely?
Yesterday I was making some experiments on Slitaz. It uses multiple initrd.img's to store files/changes.
I wanted to extract one of its initrd.gz images (which is a cpio archive) to a folder, ...
4
votes
2answers
102 views
modify file ownership for files inside tar archive
I am working as user, and I would like to create a tar archive, which when unpacked (by root) will extract its files with root ownership (otherwise root would have to change the ownership manually for ...
1
vote
0answers
40 views
is star faster than GNU and BSD tar? [closed]
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
435 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
55 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.
1
vote
1answer
118 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 ...
8
votes
4answers
141 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 ...
2
votes
2answers
90 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?
5
votes
1answer
133 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
1k 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 ...
11
votes
2answers
34k 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
243 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
155 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 ...
11
votes
3answers
9k 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
votes
1answer
49 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 ...
3
votes
2answers
946 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 ...
6
votes
2answers
822 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
1answer
236 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 ...
1
vote
2answers
205 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
169 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
votes
2answers
137 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 ...
1
vote
1answer
451 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
169 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
127 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
303 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
142 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 ...
10
votes
5answers
443 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 ...
13
votes
4answers
31k 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, ...
2
votes
2answers
154 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 ...
3
votes
0answers
93 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
5k 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
219 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
102 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 ...
2
votes
2answers
615 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 ...
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
0answers
252 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 ...
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:
4
votes
1answer
397 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 ...
3
votes
2answers
317 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 ...
5
votes
1answer
597 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 ...
7
votes
2answers
614 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, ...
7
votes
4answers
708 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 ...



