Kompression mit bzip2 Linux: Grundlagen, Optionen und Beispiele

bzip2 ist ein leistungsstarkes Kompressionswerkzeug unter Linux, das den Burrows-Wheeler-Algorithmus nutzt. Es erreicht eine deutlich bessere Kompressionsrate als gzip, benötigt dafür aber mehr Rechenzeit. Ideal für Speicherplatz-kritische Szenarien wie große Textdateien oder Logs. Wichtige Optionen von bzip2 -k : Originaldatei nach Kompression behalten. Standardmäßig wird die Eingabedatei gelöscht. bzip2 -k datei.txt -d oder bunzip2 (Alias) : Dekomprimiert eine .bz2-Datei. bunzip2 […]

https://andreas-moor.de/kompression-mit-bzip2-linux-grundlagen-optionen-und-beispiele/

WARNING

TIL that bunzip2 in Linux / Debian / MX Linux deletes, I repeat, DELETES the original archive when you run it in vanilla form

`bunzip2 dfly-x86_64-6.4.2_REL.iso.bz2`

resulted in the iso being unpacked with deletion of the original WITHOUT WARNING

Since I'm on expensive LTE+ 4G internet that is significant.

I have not used bunzip2 in years, but should have remembered this hostile default. It was not that way IIRC
Do I need to read the manpages of commands I have not used in years in Linux now? Why was the default changed

Luckily I have copies of the bzip2 iso on multiple partitions of HDD and SSD

#bzip2 #bunzip2 #sh #bash #warning #TIL #Linux #OpenSource #POSIX

@vildis +9001%

Why they don't go with tar or pax or plain bzip2 / xz is beyond me.

#tech #shitpost #tar #pax #bzip2 #bunzip2 #xz #compression

Compactadores de arquivos no Linux
Conheça os comandos tar e compactadores para juntar e comprimir arquivos no Linux. Essencial para qualquer administrador

Comando tar

https://www.youtube.com/watch?v=iHoFc1Ynw-0&list=PL6IznNGWCdD89jP8kiacplFQcJlmMmjhb&index=103

Uso:

$ tar [ctxurgjzpvfNCMF] [destino] [fonte]

O nome deste comando provém de “Tap
https://www.certificacaolinux.com.br/compactadores-de-arquivos-no-linux/
#bunzip2 #bzip2 #compactadores #gunzip #gzip #tar #xz

Aula Sobre o Comando TAR #LINUX

YouTube