All Questions
100
questions
0
votes
2
answers
79
views
Find strange TAR archive format
I have some file that can be extracted with tar:
tar -tvf attachment.tar
But when I test it with file I have this result:
attachment.tar: uuencoded or xxencoded text, ASCII text, with CRLF line ...
0
votes
0
answers
74
views
What are these pax tarball characteristics and comments?
I created a pax archive with GNU tar 1.34 under Debian 11 and, upon viewing the tarball in 7-Zip (23.01) File Manager on Windows 10, I noticed these fields on the archived items:
Name
Characteristics
...
2
votes
2
answers
2k
views
Tar owner map when extracting
Tar has several options to affect how file and directory ownership will be stored in that tar file. For example --numeric-owner, or --owner-map. These options directly affect how the tar file will be ...
1
vote
0
answers
1k
views
Extracting a PE32 Windows executable archive in Linux
Is it possible to extract a password protected Windows executable (.exe) in Linux?
This is the file's type:
file.exe: PE32 executable (GUI) Intel 80386, for MS Windows
0
votes
1
answer
268
views
How do I get a better exploration for archives in ranger?
I'm not a fan of the default exploration for archives in Ranger, which resumes to showing the output of atool when opening the file.
I found out this avfs config, which allows you to explore an ...
2
votes
1
answer
1k
views
How do I get a better preview for archives in ranger?
I'm not a fan of the default preview for archives in Ranger, and I want to change it.
As an example, for .zip files, the preview displays the plain output of unzip -l <file>. Using custom ...
1
vote
1
answer
730
views
Archive binary has reversed hex signature
Context
This is a repost of my StackOverflow question which was incorrectly asked, as it does not relate to programming.
I'm playing Bandit on OverTheWire, and level thirteen requires unzipping ...
0
votes
0
answers
53
views
How do I create an archive with custom absolute paths?
I have a simple web app on Debian that I would like to distribute soon. For its update mechanism, I was hoping to take advantage of an archive's full path capability (such as RAR) by essentially ...
0
votes
0
answers
352
views
Only one file is extracted from huge tar archive
I have a 124GB tar archive. When I run:
tar xvf archive.tar
I get only a 1.1GB file (which is one of the expected file). What happened to the rest of the files ? Is there a way to recover them?
I ...
3
votes
1
answer
374
views
Add error correction information to piped tar stream
I'm using Amazon S3 Glacier Deep Archive to store backups on my Ubuntu machine. My workflow basically boils down to:
tar cf - $FILES | gzip -3 --stdout | aws s3 cp - $TARGET
I think this works quite ...
0
votes
0
answers
1k
views
How to make compressed rar or zip files of certain size in Linux command line?
On my Ubuntu machine, I'd like to create compressed archive files of 10mb size for Windows users. So that a 25MB myfile becomes something like:
myfile1.rar
myfile2.rar
myfile1.rar
I could not find ...
0
votes
1
answer
1k
views
how to extract one or more archives recursively with one/multiple parts (rar or 7z) and deleting the archives after extraction?
I would be really, extremly happy if someone could help me with this problem.
I want to be able to extract one or more files with only one or more parts and then deleting the archive(s). It doesn't ...
0
votes
0
answers
2k
views
Error when tar a compressed file
I try to install krona tools, so I downloaded its archive first as follows:
curl -LOk https://github.com/marbl/Krona/releases/download/v2.7/KronaTools-2.8.tar
then
#untar
tar -xvf KronaTools-2.8.tar
...
3
votes
2
answers
785
views
How to compress one folder into multiple .zip, all independently extractable?
I work with some big image datasets containing millions of images, and I often need to compress the results of each step of processing to be uploaded as backup.
I have seen that some datasets can be ...
0
votes
2
answers
711
views
Create a 7z archive with some subfolders, preserving directory structure and including only files with certain extension
I have a main folder, inside that I have many folders, with many different files inside each folder.
My goal is to create an archive, with only a subset of the subfolders, including only files with a ...