розархівування в linux - zip, tar.xz, tar.bz, tar.bz2
замітка про те, як розархівувати архів в linux користуючись командною строкою
zip
sudo apt install zip unzip gzip tar
zip -r my_arch.zip my_folder
unzip my_arch.zip
unzip file.zip -d destination_folder
якщо у нас є декілька томів zip архів
test.zip.001, .002, .003
(наприклад, створено якимось архіватором на іншій OS)
cat test.zip* > ~/test.zip
# далі unzip як звичайно - див. вище
tar
tar -xvf archive.tar
tar -xf archive.tar -C /path/destination_folder
tar.xz
tar -xvf archive.tar.xz
tar -xvf archive.tar.xz -C /home/linuxize/destination_folder
tar.gz
tar -xvf archive.tar.gz
tar -xvf archive.tar.gz -C /home/linuxize/destination_folder
tar.bz2
tar -xvf archive.tar.bz2
tar -xvf archive.tar.bz2 -C /home/linuxize/destination_folder
для додаткових деталей ознайомтесь з матеріалом по посиланнях :)
Посилання
https://linuxize.com/post/how-to-zip-files-and-directories-in-linux/
https://askubuntu.com/questions/660846/how-to-zip-and-unzip-a-directory-and-its-files-in-linux
https://askubuntu.com/questions/86849/how-to-unzip-a-zip-file-from-the-terminal
https://unix.stackexchange.com/questions/40480/how-to-unzip-a-multipart-spanned-zip-on-linux
https://linuxize.com/post/how-to-create-and-extract-archives-using-the-tar-command-in-linux/
https://linuxize.com/post/how-to-extract-unzip-tar-xz-file/
https://linuxize.com/post/how-to-extract-unzip-tar-gz-file/
https://linuxize.com/post/how-to-extract-unzip-tar-bz2-file/