Linux - Tarballs, Archive and Compress Folders (tar)
HTML-код
- Опубликовано: 27 авг 2024
- Find code and diagrams at: www.EliTheComp...
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/...
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".
Best explanation on the internet sir, liked and subbed.
You made me understand better in Zimbabwe
thanks eli /love your content man :)
Thank you Eli for the video! It was helpful.
Very helpful, thank you!
This is amazing thank you ❤
Tarballs itself are not compressed. But they can be compressed using, e.g. the Gzip algorigthm. Then it's a Gzipped tarball (.tar.gz).
(5:04 - The 'ar' in TAR is short for archive, so tarArchive is redundant, keeping in line with *nix names. 😀)
"eXtract Zee Fucker" to help anyone remember the arguments, you don't need the v argument
Zee Vile Fucker n
why didn't you put "p" for preserve rights? is it unnecessary anymore?
so helpful! 👍
Wheres the cat. Rossman has cats. You just have penguins. You will never get a million subs with penguins.
Louis now has 980K subs! 😂
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!
Can you be more specific as to previous version of what you are trying to check ?
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.
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!!!!
Can tarball files be sxtracted and used on windows? (Windows 10)
´yes ofc.
I just looked this up about TAR then went to his channel. This guy is opinionated AF!