Linux - Tarballs, Archive and Compress Folders (tar)

Published: 20 September 2019
on channel: 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


Watch video Linux - Tarballs, Archive and Compress Folders (tar) online without registration, duration hours minute second in high quality. This video was added by user Eli the Computer Guy 20 September 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 14,959 once and liked it 444 people.