Linux - Tarballs, Archive and Compress Folders (tar)

Опубликовано: 20 Сентябрь 2019
на канале: Eli the Computer Guy
14,959
444

Find code and diagrams at: https://www.EliTheComputerGuy.com

Tarballs are Compressed Archive Files of Folders that are useful when moving folders and making sure all contents stay intact.

In the name tarball “tar” stands for the archiving, and “ball” stands for the compression.

tar -czvf archiveName.tar.gz originalFolder – This creates a tarball from the folder originalFolder
c = create
z = compress with gzip
v = verbose
f = specify filename
tar —list -f archiveName.tar.gz – This lists items in a tarball
tar -xzvf archiveName.tar.gz – Extracts the contents of a tarball
x = extract
Additional Reading:

https://linux.die.net/man/1/tar


Смотрите видео Linux - Tarballs, Archive and Compress Folders (tar) онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Eli the Computer Guy 20 Сентябрь 2019, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 14,959 раз и оно понравилось 444 людям.