From 33481126d4410cf59c32a3a7dbc3f22d9340e8a8 Mon Sep 17 00:00:00 2001 From: h3lp Date: Wed, 4 Mar 2026 21:16:49 +0200 Subject: [PATCH] Add tar commands --- Software Notes/git/git-commands.txt | 0 Software Notes/git/git-submodules.txt | 0 Software Notes/linux/linux_general.txt | 0 Software Notes/linux/linux_users.txt | 0 Software Notes/linux/mysql_commands.txt | 0 Software Notes/linux/postgres_commands.txt | 0 Software Notes/linux/tar_commands.txt | 12 ++++++++++++ 7 files changed, 12 insertions(+) mode change 100755 => 100644 Software Notes/git/git-commands.txt mode change 100755 => 100644 Software Notes/git/git-submodules.txt mode change 100755 => 100644 Software Notes/linux/linux_general.txt mode change 100755 => 100644 Software Notes/linux/linux_users.txt mode change 100755 => 100644 Software Notes/linux/mysql_commands.txt mode change 100755 => 100644 Software Notes/linux/postgres_commands.txt create mode 100644 Software Notes/linux/tar_commands.txt diff --git a/Software Notes/git/git-commands.txt b/Software Notes/git/git-commands.txt old mode 100755 new mode 100644 diff --git a/Software Notes/git/git-submodules.txt b/Software Notes/git/git-submodules.txt old mode 100755 new mode 100644 diff --git a/Software Notes/linux/linux_general.txt b/Software Notes/linux/linux_general.txt old mode 100755 new mode 100644 diff --git a/Software Notes/linux/linux_users.txt b/Software Notes/linux/linux_users.txt old mode 100755 new mode 100644 diff --git a/Software Notes/linux/mysql_commands.txt b/Software Notes/linux/mysql_commands.txt old mode 100755 new mode 100644 diff --git a/Software Notes/linux/postgres_commands.txt b/Software Notes/linux/postgres_commands.txt old mode 100755 new mode 100644 diff --git a/Software Notes/linux/tar_commands.txt b/Software Notes/linux/tar_commands.txt new file mode 100644 index 0000000..38056c2 --- /dev/null +++ b/Software Notes/linux/tar_commands.txt @@ -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 +