Skip to main content

Questions tagged [compression]

Shrinking (compressing) and restoring (decompressing) of data.

Filter by
Sorted by
Tagged with
0 votes
1 answer
748 views

Please confirm if .DAT extension files are the same as compressed format files (.zip ) in Unix. As I try to use gzip filename.DAT then is the original 2 GB file size the same after compression? Is ...
kumar's user avatar
  • 1
2 votes
2 answers
1k views

I have a dd image of disk, which is a LUKS container containing a filesystme, and which I can loop mount and unlock to access the files. The filesystem in the container is only about 1/4 full. What ...
Diagon's user avatar
  • 740
0 votes
1 answer
424 views

This question may be a bit "opinion based", but please consider it as looking for authoritative source of information on the use of compression levels. I have a server with few databases ...
Kamil's user avatar
  • 799
7 votes
4 answers
781 views

There is a file of 40 GB in gz format. I want to find the record count and cksum of this file in uncompressed format. One approach I have is: Unzip the file using gunzip Use wc, cksum commands on ...
Gopi's user avatar
  • 183
3 votes
1 answer
455 views

The following script mkdir test && cd test mkdir files touch files/{1,2,3} tar --create --file "test.lzma" files/{1,2,3} --auto-compress mkdir extracted_files tar --extract --file &...
cppbest's user avatar
  • 193
0 votes
0 answers
141 views

Hello i am kinda new with ffmpeg and learning everyday, i am now looking for on how i can compress a video in a smaller size. since i have some 1920x1080 mp4 files with a rediculous high size. For ...
Sam van Viegen's user avatar
3 votes
1 answer
4k views

I often have open questions regarding the booting of a machine with GNU/Linux installed. In such cases, it could be helpful to view which files are present in the initramfs image. I have googled for a ...
Mikke Mus's user avatar
  • 163
0 votes
2 answers
564 views

I have tried using jpegoptim and even tried the manpage but am stumped. Here is a file I want to reduce to 50k and even open to reducing quality of the data - Image: Filename: shirish.jpg Format: ...
shirish's user avatar
  • 13k
1 vote
1 answer
2k views

I am trying to uncompresss a bzip2 file (~55 GB) with the command tar -jxvf file.tar.bz2 However I found that the decompression process gets stuck at a certain file and, after waiting a long duration, ...
Raghvender's user avatar
1 vote
0 answers
747 views

I have a question, just a little thing couch my eyes it's about compression with gzip and bzip2: If I understood correctly - bzip2 requires more processing power but compresses files smaller and more ...
Karuch's user avatar
  • 11
1 vote
1 answer
570 views

Whenever I need to decompress a file which was compressed with Gzip, I need to rename the file with a .gz extension , I tried other compression utility like zip, bzip2 and they don't seem to care ...
pwnr007's user avatar
  • 13
0 votes
0 answers
1k views

I've been tasked with diagnosing an issue with a webpage, and I've been able to trace the issue back to a gzip'ed JavaScript file, jquery.min.js.gz. To view the code, I've downloaded and attempted to ...
PerplexedDimension's user avatar
0 votes
1 answer
2k views

Here is my file structure. I am currently residing in test2/ directory, and all commands must run from there. test/ |_test2/ publish/ |_subfolder1/ |_f1 |_f2 |_f3 |...
Dave's user avatar
  • 732
2 votes
1 answer
304 views

I have a tape with a .tar.lzma archive written to it. How can I determine the size of the .tar.lzma archived as is? In other words, I'm looking to find the size of the compressed archive, not the size ...
leetbacoon's user avatar
0 votes
2 answers
430 views

After update-initramfs -c -k KERNELVERSION(I didn't do any change and just type this command), the initrd will always has different size with the previous initrd. And this situation happen on Debian ...
Azreal's user avatar
  • 43
20 votes
3 answers
4k views

I have a compressed raw image of a very large hard drive created using cat /dev/sdx | xz > image.xz. However, the free space in the drive was zeroed before this operation, and the image consists ...
jaymmer - Reinstate Monica's user avatar
6 votes
3 answers
3k views

I have a PDF created with PDF Sandwich. Each page of the PDF contains a background image and some foreground text. I want to reduce the filesize (not the resolution) of the background image - and ...
Terence Eden's user avatar
1 vote
2 answers
340 views

I try to do the following: Upload a folder (say Pictures) onto a server Let the server compress the input stream and save it to a file Importantly, step 1) should be uncompressed as the connection ...
Lennart Van der Goten's user avatar
4 votes
1 answer
1k views

What is the simplest way to compare a zip file and a directory that has been extracted from the zip file? I would like to delete the zip file if they are the same. Example. Need to check if Archive....
vpk's user avatar
  • 141
0 votes
1 answer
1k views

I try to compress my wordpress directory /srv/www/vhost/wp-intranet. But I need to exclude the directory /srv/www/vhost/wp-intranet/wp-content/uploads/ First I changed directory to /srv/www/vhost/ ...
Black's user avatar
  • 2,148
0 votes
2 answers
1k views

What is utility tool to detect and give info of compression method (preferably more info) in any mean (CL or GUI) ? IOW what windows 7z tool equivalent for Linux, giving info easily in GUI?
user avatar
3 votes
1 answer
4k views

The man page says 7z tool supports 7z, LZMA2, XZ, ZIP, Zip64, CAB, RAR, ARJ, GZIP, BZIP2, TAR, CPIO, RPM, ISO, most filesystem images and DEB formats. And it says we could pass the type as -t{Type}. ...
NayabSD's user avatar
  • 194
2 votes
1 answer
5k views

This is how I establish an SSH tunnel (dynamic port forwarding using SOCKS) from a local computer to a remote computer: ssh -C -N -D 12345 [email protected] I use compression (-C) because my bandwidth ...
Flux's user avatar
  • 3,318
1 vote
1 answer
712 views

I know I can mount a single zip file as a directory for read-only access (Mount zip file as a read-only filesystem) but if I have a directory (or a directory tree) containing many zip files, is there ...
dargaud's user avatar
  • 659
0 votes
1 answer
5k views

I have extracted a file 'linux' from ubutu installation .iso file. The command file linux gives me this output. linux: gzip compressed data, was "vmlinuz-5.4.0-42-generic.efi.signed", last ...
Chan Kim's user avatar
  • 459

1
2
3 4 5
9