Linux - Tarballs, Archive and Compress Folders (tar)
Ғылым және технология
Find code and diagrams at: 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:
linux.die.net/man/1/tar
Пікірлер: 23
Hey Eli, I know it may not seem like it but these kind of videos still make a difference for some of us and they are much appreciated! Thank you good sir!
very helpful. Thank you for the clear and concise explanation of tar...and "ball".
Thank you Eli for the video! It was helpful.
Best explanation on the internet sir, liked and subbed.
thanks eli /love your content man :)
Very helpful, thank you!
This is amazing thank you ❤
You made me understand better in Zimbabwe
so helpful! 👍
(5:04 - The 'ar' in TAR is short for archive, so tarArchive is redundant, keeping in line with *nix names. 😀)
Tarballs itself are not compressed. But they can be compressed using, e.g. the Gzip algorigthm. Then it's a Gzipped tarball (.tar.gz).
why didn't you put "p" for preserve rights? is it unnecessary anymore?
Can you tell me how to check the previous versions in Unix as we are checking in windows folders? I'm a storage & backup guy but need to know this for one purpose but not getting proper information on internet!
@oblivionronin
4 жыл бұрын
Can you be more specific as to previous version of what you are trying to check ?
@user-vn7ce5ig1z
4 жыл бұрын
He means the "Previous Versions" tab in the Properties dialog-box of a file or folder. That's a Windows thing, it's not in Linux. (Macs have Time Machine.) Linux doesn't have a universal continuous-backup or RCS that comes default with the OS; you'll need to find, get, and use one.
@clickhereformoreinfo.4878
4 жыл бұрын
www1.udel.edu/it/help/unix/recover/ Please check this link... Here they mentioned that recover and version commands willl show the list of versions of the file saved on different dates! But the examples are quite confusing!!!!
Louis now has 980K subs! 😂
Can tarball files be sxtracted and used on windows? (Windows 10)
@maxcvbm6654
2 жыл бұрын
´yes ofc.
"eXtract Zee Fucker" to help anyone remember the arguments, you don't need the v argument
@mr2octavio
4 жыл бұрын
Zee Vile Fucker n
Wheres the cat. Rossman has cats. You just have penguins. You will never get a million subs with penguins.
I just looked this up about TAR then went to his channel. This guy is opinionated AF!