Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

compression

Python: Inflate and Deflate implementations

August 15, 2022 by Magenaut

I am interfacing with a server that requires that data sent to it is compressed with Deflate algorithm (Huffman encoding + LZ77) and also sends data that I need to Inflate.

Categories Python, Q&A Tags c#, compression, python, zlib Leave a comment

Is there a tool that combines zcat and cat transparently?

August 11, 2022 by Magenaut

When handling log files, some end up as gzipped files thanks to logrotate and others not. So when you try something like this:

Categories Q&A, Unix & Linux Tags cat, compression, gzip, text-processing Leave a comment

Universal extractors

August 10, 2022 by Magenaut

With an increasing number of archive/compression file formats, is there a single free/open-source command line tool to rule them all? Perhaps something with a consistent / unified set of flags? (note my friendly implicit reference to tar)

Categories Q&A, Unix & Linux Tags compression, tar, utilities Leave a comment

How to extract files from uImage?

August 10, 2022 by Magenaut

Buildroot is generating images for an embedded device where they should run. This is working very well. In those images, the rootfs is included.

Categories Q&A, Unix & Linux Tags buildroot, compression, embedded, images, u-boot Leave a comment

Which file compression software for Linux offers the highest size reduction for source code?

August 9, 2022 by Magenaut

I do a ton of file compression. Most of the stuff I am compressing is just code, so I need to use lossless compression.

Categories Q&A, Unix & Linux Tags compression, source Leave a comment

How can I view gzipped files in less without having to type zless?

August 9, 2022 by Magenaut

I am using Ubuntu, and I would like to be able to type less compressed_text_file.gz and page the contents of the text file in uncompressed form. Is there a way to do this?

Categories Q&A, Unix & Linux Tags compression, less Leave a comment

Is there any program to provide a consistent interface across multiple archive types?

August 8, 2022 by Magenaut

At the moment, if I download a compressed file, it could be any of a .tar.gz archive, a tar.bz2 arhive, a .zip archive or a .gz archive. And each time I do so, I have to remember what the command line options for that program are.

Categories Q&A, Unix & Linux Tags archive, command-line, compression Leave a comment

How can I reduce a video’s size with ffmpeg?

August 8, 2022 by Magenaut

How can I use ffmpeg to reduce the size of a video by lowering the quality (as minimally as possible, naturally, because I need it to run on a mobile device that doesn’t have much available space)?

Categories Q&A, Unix & Linux Tags compression, ffmpeg, video Leave a comment

How to XZ a directory with TAR using maximum compression?

August 7, 2022 by Magenaut

So I need to compress a directory with max compression.

Categories Q&A, Unix & Linux Tags compression, directory, tar Leave a comment

Does tar actually compress files, or just group them together?

August 7, 2022 by Magenaut

I usually assumed that tar was a compression utility, but I am unsure, does it actually compress files, or is it just like an ISO file, a file to hold files?

Categories Q&A, Unix & Linux Tags compression, tar Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress