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

  • @freakyjason9665
    @freakyjason96652 жыл бұрын

    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!

  • @stevesmith6810
    @stevesmith68103 жыл бұрын

    very helpful. Thank you for the clear and concise explanation of tar...and "ball".

  • @tymothylim6550
    @tymothylim65503 жыл бұрын

    Thank you Eli for the video! It was helpful.

  • @repairstudio4940
    @repairstudio494010 ай бұрын

    Best explanation on the internet sir, liked and subbed.

  • @npennpen2757
    @npennpen27572 жыл бұрын

    thanks eli /love your content man :)

  • @bjols7222
    @bjols7222 Жыл бұрын

    Very helpful, thank you!

  • Жыл бұрын

    This is amazing thank you ❤

  • @techtrendz3539
    @techtrendz35393 жыл бұрын

    You made me understand better in Zimbabwe

  • @surfthechaos
    @surfthechaos4 жыл бұрын

    so helpful! 👍

  • @user-vn7ce5ig1z
    @user-vn7ce5ig1z4 жыл бұрын

    (5:04 - The 'ar' in TAR is short for archive, so tarArchive is redundant, keeping in line with *nix names. 😀)

  • @hexandcube
    @hexandcube3 жыл бұрын

    Tarballs itself are not compressed. But they can be compressed using, e.g. the Gzip algorigthm. Then it's a Gzipped tarball (.tar.gz).

  • @tayfun6378
    @tayfun63784 жыл бұрын

    why didn't you put "p" for preserve rights? is it unnecessary anymore?

  • @clickhereformoreinfo.4878
    @clickhereformoreinfo.48784 жыл бұрын

    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

    @oblivionronin

    4 жыл бұрын

    Can you be more specific as to previous version of what you are trying to check ?

  • @user-vn7ce5ig1z

    @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

    @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!!!!

  • @vincentvalentine5900
    @vincentvalentine59004 жыл бұрын

    Louis now has 980K subs! 😂

  • @Anthonybrother
    @Anthonybrother4 жыл бұрын

    Can tarball files be sxtracted and used on windows? (Windows 10)

  • @maxcvbm6654

    @maxcvbm6654

    2 жыл бұрын

    ´yes ofc.

  • @dddk097777
    @dddk0977774 жыл бұрын

    "eXtract Zee Fucker" to help anyone remember the arguments, you don't need the v argument

  • @mr2octavio

    @mr2octavio

    4 жыл бұрын

    Zee Vile Fucker n

  • @dsma2023
    @dsma20234 жыл бұрын

    Wheres the cat. Rossman has cats. You just have penguins. You will never get a million subs with penguins.

  • @oraz.
    @oraz.2 жыл бұрын

    I just looked this up about TAR then went to his channel. This guy is opinionated AF!