Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options answers only user 86440

Use this tag for questions about files containing other files and/or folders, that are not covered by a more specific tag like tar, cpio, zip, rar, ar, 7z (in that case only use the specific tags). For generic questions about making security backups and rsync's archive mode, use backup.

1
vote
minus one byte) should work fine. (I tried manually recombining a split archive, but zip -FF looks for the archive components and fails to fix the combined file.) It turns out that File Roller supports … split archives (without following the segmented archive format), so if your recipients all use that (or presumably, other archivers using libarchive), you can split your archive using split or a …
answered Sep 19 '17 by Stephen Kitt
11
votes
When searching for a single file in a large archive, it uses method 1, which you can see using strace: open("dataset.zip", O_RDONLY) = 3 ioctl(1, TIOCGWINSZ, 0x7fff9a895920) = -1 ENOTTY … (Inappropriate ioctl for device) write(1, "Archive: dataset.zip\n", 22Archive: dataset.zip ) = 22 lseek(3, 943718400, SEEK_SET) = 943718400 read(3, "\340P\356(s\342\306\205\201\27\360U …
answered Jan 29 by Stephen Kitt
6
votes
README file for details. I’m not aware of any specific “official” declaration in this regard, but as far as I’m aware distributions moved to the archive are never deleted, and the archive is supposed to live at least as long as the Debian project. …
answered Aug 24 by Stephen Kitt
0
votes
7z can do this, at least if the root directory in the archive (if any) matches the name of the directory you’re extracting to: 7z x -spe funtool.zip -ofuntool If funtool.zip’s contents are all … inside a funtool directory in the archive, 7z won’t duplicate the directory below funtool, giving you the result you’re after. …
answered Apr 11 '18 by Stephen Kitt
3
votes
tar can cope with partial archives after splitting. When you try to restore part of such an archive, it will skip over whatever it can't use at the start, and tell you about any partial file at the … end; everything in between will be restored properly. You can instruct tar itself to split archives as it creates them, using the tape length options; see Create a tar archive split into blocks of a …
answered May 7 '16 by Stephen Kitt
3
votes
. If you want to produce an archive containing multiple entries, you need to use a tool which can be told what name to use; for example, 7z: curl https://raw.githubusercontent.com/akka/akka/master … /README.md | 7z a -siREADME.md akka.7z curl https://raw.githubusercontent.com/akka/akka/master/RELEASING.md | 7z a -siRELEASING.md akka.7z will produce an akka.7z archive containing README.md and …
answered Mar 6 by Stephen Kitt
3
votes
.$date.txz" This lists the contents of $dir and tells tar to archive that instead of ., which results in the contents of $dir appearing at the root of the archive. Since you're not starting from a …
answered Dec 17 '15 by Stephen Kitt
18
votes
The usual tar format stores timestamps as a number of seconds, as you determined. To store timestamps with more resolution, you need to use another format, such as POSIX tar as produced by GNU tar whi …
answered Oct 9 '17 by Stephen Kitt
1
vote
In the file you linked to, you don't actually need to delete anything; just save it somewhere, and run sh anoncvs.shar to extract its contents. The comment instructing you to delete everything bef …
answered May 5 '16 by Stephen Kitt
1
vote
When it comes to backups, I strongly suggest using a pre-existing tool rather than rolling your own. Borg is a very nice backup tool which supports encryption and decryption following the usage patter …
answered Mar 19 '17 by Stephen Kitt
3
votes
At the end of the first tar tvf, the tape is left on the last block of the first file. The second tar tvf reads that again, and complains, but doing that leaves the tape on the first block of the seco …
answered Mar 24 '17 by Stephen Kitt
2
votes
If you add an extra v to your tar command which writes to the drive, it will report the file sizes; you could perhaps parse that and compare the file sizes, without having to read all the files twice. …
answered Sep 7 '16 by Stephen Kitt
2
votes
The command you've given creates a tarball with paths starting with ./Hackcraft; you can see that by running tar tf Hackcraft.tar.gz File Roller presents the contents of the tarball folder by folde …
answered Dec 6 '16 by Stephen Kitt
4
votes
The -v option increases tar’s verbosity. The default verbosity depends on the command. -t lists the file names contained in the archive. One -v adds ls -l-style file details. -c and -x don’t output …
answered Jul 27 by Stephen Kitt