Add tar commands

This commit is contained in:
h3lp
2026-03-04 21:16:49 +02:00
parent 003da78bb7
commit 33481126d4
7 changed files with 12 additions and 0 deletions
View File
View File
View File
View File
View File
View File
+12
View File
@@ -0,0 +1,12 @@
Compress a folder into .tar.gz
tar -czvf archive_name.tar.gz folder_name
Extract a folder from .tar.gz
tar -xzvf archive_name.tar.gz
Multithreaded compression
tar -I pigz -cvf archive.tar.gz paths_to_archive
Multithreaded decompression
tar -I pigz -xvf archive.tar.gz