Questions tagged [archive]
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.
250 questions
0 votes
3 answers
298 views
Cloning a Linux disk containing LVM logical volumes
I have a GNU/Linux installation with an unencrypted primary partition (boot partition) and a LUKS primary partition containing two LVM logical volumes (root filesystem and swap space): /dev/sda1: (...
1 vote
2 answers
3k views
EPEL 7 links are dead... Where to find replacement?
I am updating a project that relied on EPEL 7; up until this year, the following repo link worked just fine: https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm This was the full ...
3 votes
1 answer
464 views
Extract a RAR file while automatically truncating long filenames
I have a lot of rar archives, and some of them contain files whose names are too long for the filesystem. When attempting to extract them using unrar x, I will get the error: Cannot create [extremely ...
0 votes
1 answer
41 views
Archiver to backup a changing directory
So there is a directory that is actively changing. I want a backup snapshot, but both tar and zip crash as a file is deleted or changed while they read it. Is there any archiver in Linux-world that ...
1 vote
0 answers
253 views
tar using --transform flag is replacing symlinks when extracting archive
When I unpack a tar.gz archive using this command on Ubuntu 22.04.5 LTS: tar -xvf foo-bar-linux-x64.tar.xz --transform "s:^[^/]*:foo-bar:" everything is unpacked into a foo-bar folder ...
1 vote
0 answers
220 views
Recoverably recompress gzip files into zstd, preserving original checksums?
I need to archive a lot of gzip-compressed data. The problem is that compared to zstd, gzip is wasteful, both in terms of ratio and CPU time required to decompress the data. Because of that, I want to ...
0 votes
3 answers
327 views
Program which archives "files" from stdin to stdout, without hitting the disk?
Can anyone suggest a program which: Creates some form of archive from stdin, out to stdout, with filenames, and without hitting the disk (the data is sensitive) The program output will eventually be ...
0 votes
1 answer
214 views
Does the rsync --archive option override the --exclude option?
I am running an rsync -avz command which excludes a large 32GB file by using --exclude=/file/path and no matter what I do rsync transfers the file. I understand that logically the --archive option ...