Linux - Tarballs, Archive and Compress Folders (tar)

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ก.ย. 2019
  • 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
    @freakyjason9665 2 ปีที่แล้ว +4

    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
    @stevesmith6810 3 ปีที่แล้ว +3

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

  • @tymothylim6550
    @tymothylim6550 3 ปีที่แล้ว

    Thank you Eli for the video! It was helpful.

  • @repairstudio4940
    @repairstudio4940 10 หลายเดือนก่อน

    Best explanation on the internet sir, liked and subbed.

  • @npennpen2757
    @npennpen2757 2 ปีที่แล้ว +1

    thanks eli /love your content man :)

  • @bjols7222
    @bjols7222 ปีที่แล้ว

    Very helpful, thank you!

  •  ปีที่แล้ว

    This is amazing thank you ❤

  • @surfthechaos
    @surfthechaos 4 ปีที่แล้ว

    so helpful! 👍

  • @techtrendz3539
    @techtrendz3539 3 ปีที่แล้ว

    You made me understand better in Zimbabwe

  • @user-vn7ce5ig1z
    @user-vn7ce5ig1z 4 ปีที่แล้ว +1

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

  • @tayfun6378
    @tayfun6378 4 ปีที่แล้ว +2

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

  • @hexandcube
    @hexandcube 3 ปีที่แล้ว +1

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

  • @clickhereformoreinfo.4878
    @clickhereformoreinfo.4878 4 ปีที่แล้ว

    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 ปีที่แล้ว +1

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

    • @user-vn7ce5ig1z
      @user-vn7ce5ig1z 4 ปีที่แล้ว +1

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

  • @Anthonybrother
    @Anthonybrother 4 ปีที่แล้ว

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

  • @vincentvalentine5900
    @vincentvalentine5900 4 ปีที่แล้ว

    Louis now has 980K subs! 😂

  • @dddk097777
    @dddk097777 4 ปีที่แล้ว +6

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

    • @mr2octavio
      @mr2octavio 4 ปีที่แล้ว

      Zee Vile Fucker n

  • @dsma2023
    @dsma2023 4 ปีที่แล้ว +7

    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!