How to Archive Folders in Linux (tar and gzip tutorial) - Linux Crash Course Series

  Рет қаралды 36,948

Learn Linux TV

Learn Linux TV

Күн бұрын

Пікірлер: 69
@ЮрийР-й8п
@ЮрийР-й8п 8 ай бұрын
The best basic tutorial on tar and gzip tools I've ever found. Others just explain options approximately like this - "well these -cvf or whatever options are needed so everything is ok". Again, thank you for clarifying this.
@andydroid2954
@andydroid2954 2 жыл бұрын
One of the best KZbin channels to learn about Linux.
@WC1376C22
@WC1376C22 2 жыл бұрын
You never disappoint Jay. I must always have gedit open when I hit play on your videos, even if I already know about whatever it is, you always manage to ninja in something I didn't know.🤣 WHat you didnt cover and I would consider important is "--exclude=" and the "--exclude" file list....I can never remember where to put this at...good thing I have a .txt cheat sheet.
@act.13.41
@act.13.41 2 жыл бұрын
I would consider myself an expert with compressed files in Windows, but a complete noob in Linux. I really needed this and it was awesome. Thank you so much.
@synen
@synen 2 жыл бұрын
I still use rar in Linux
@vb9950
@vb9950 7 ай бұрын
Thank you for the video. I had actually gone through the entire part. In my mind, archiving and compressing are the same operations on file just synonymous. But after the video I realized archiving and compressing are different operations. And we use it together that is, tar for archiving and this archived file will be compressed by gzip.
@auleian
@auleian 3 ай бұрын
Best channel to learn Linux. Really good content. Am supplementing this to my RHCSA cert guide
@hoid8069
@hoid8069 8 ай бұрын
Thank you for explaining what each of the flags mean in commands. So many Linux tutorials don't do that, and it drives me crazy.
@OwlPharaoh7
@OwlPharaoh7 Ай бұрын
i was totally expecting you to pipe gzip to the rear of tar . awesome stuff with cz, blew my mind fr
@AnantaAkash.Podder
@AnantaAkash.Podder 10 ай бұрын
The best Channel to learn Linux... Thank you very much sir...❤️❤️❤️
@Benjamin-lh6dq
@Benjamin-lh6dq 2 жыл бұрын
Excellent, as always. I enjoyed this video a lot.
@portfedh
@portfedh 2 жыл бұрын
These videos are great. Thanks for posting Jay.
@LearnLinuxTV
@LearnLinuxTV 2 жыл бұрын
Glad you like them!
@polliluiz
@polliluiz 2 жыл бұрын
Amazing my friend. Greetings from Brazil
@nouhatamba9976
@nouhatamba9976 Жыл бұрын
you're the best huge thank to you for all that knowledge that you allow us to access freely
@cleightthejw2202
@cleightthejw2202 2 жыл бұрын
@Jay thanks for the linux curse with these videos. They truly are good. AND! your audio is nice and loud.
@dcknature
@dcknature 2 жыл бұрын
Yeah, sounds really nice on a mobile device 👍.
@vinuka_vinnath
@vinuka_vinnath 9 ай бұрын
Perfect as always!🔥
@raymondfb
@raymondfb 2 жыл бұрын
great video! thank you for taking the time to make it.
@13thravenpurple94
@13thravenpurple94 2 жыл бұрын
Great work 🥳🥳🥳 Thank you 💜💜💜
@crites57
@crites57 2 жыл бұрын
Thanks Jay, yet another great video.
@DL-xf3ur
@DL-xf3ur 2 жыл бұрын
Awesome as always Jay! Thanks.
@MohamedELSayed-to9jj
@MohamedELSayed-to9jj Жыл бұрын
Thank you for efforts and quality
@vasylcf
@vasylcf 2 жыл бұрын
Thank you man! I like you way of explanation)
@amirsayad9352
@amirsayad9352 10 ай бұрын
thanks dude. i enjoyed it
@busdriver1261
@busdriver1261 2 жыл бұрын
Thanks for unravelling the mystery (for me at least) of tar and gzip. It's one of those things I knew I had to learn but never got around to. Problem solved!
@machman23
@machman23 2 жыл бұрын
Another well explained and demoed video
@Eilay_Yosfan
@Eilay_Yosfan 6 ай бұрын
i got a heart attack when you executed, rm -rf /etc
@burpsan
@burpsan 2 жыл бұрын
Excellent! Thank you!
@simmzzzz
@simmzzzz 9 ай бұрын
Fantastic! Thanks! :)
@AbuFaizal
@AbuFaizal 2 жыл бұрын
Nice tutorial
@Limberth11
@Limberth11 2 жыл бұрын
Hi Jay, as usual, awesome content, are you planning on SELinux Crash Course?
@Eilay_Yosfan
@Eilay_Yosfan 6 ай бұрын
Thank you !
@jhred3315
@jhred3315 2 жыл бұрын
Awesome as always!
@fabrice9848
@fabrice9848 2 жыл бұрын
Thank you
@dcknature
@dcknature 2 жыл бұрын
Versatile tutorial, Jay 👍! Thanks and greetings from Ukraine 🇺🇦.
@auleian
@auleian 3 ай бұрын
Are you still alive?
@manriqueprendas3856
@manriqueprendas3856 Жыл бұрын
Thanks a lot!
@saucerbob
@saucerbob 2 жыл бұрын
Great stuff. I gotta get back to command line administration. GUI interface is handy, and easy; but there is so much more power and flexibility in the command line. What's next - CPIO?
@virtuallifeform
@virtuallifeform 2 жыл бұрын
*cpio* is very powerful and flexible when fed by *find*
@MidnightSpecter43
@MidnightSpecter43 Жыл бұрын
Sir Here etc file size is 12k and after compression why it is 1.5 Mb ??
@yjawhar
@yjawhar Жыл бұрын
That's the folder size, not the folder and files. If you want to see the size of the folder and files, check the size of etc_backup.tar file and compare that to the tar.gz file
@exmachina767
@exmachina767 5 ай бұрын
In addition to what ​@@yjawhar mentioned, you can also use “du -h -d 1 folder-name” to check the size of the folder and the sizes of its immediate subfolders.
@lawrencebutler2423
@lawrencebutler2423 2 жыл бұрын
Hey man I wanted you yo know I talked to my University about adding your videos to the curriculum. They took it VERY serious. Expect a call man=)
@clivewi9103
@clivewi9103 Жыл бұрын
If you do an advanced course on TAR, could you cover how to force an over write of an existing file from the tar archive.
@TheIceMan9304
@TheIceMan9304 2 жыл бұрын
Hey Jay is it just me or is your "journey" plaque not level in the background?
@pyrokamileon
@pyrokamileon 2 жыл бұрын
I honestly did not realize that tar and gzip were separate commands that did different things!
@user-tf4rs7um5e
@user-tf4rs7um5e 2 ай бұрын
@13:56 Can anyone explain why he didn't need to provide a name for the extracted file? It took the original name of the file with no input telling it to do so.
@guillermolopez7327
@guillermolopez7327 Ай бұрын
the name of the directory was etc on the first place, regardless of the etc_backup.tar file. He could also manually changed the name of the result, but since there was no extra options, the default was etc. Exactly, no output, unless you specify with -v option. Some of the commands in Linux doesn't show any output, unless you use the verbose mode/option -v.
@pogo55555
@pogo55555 2 жыл бұрын
Hello people. Jay's book "Mastering Ubuntu Server" is EXCELLENT. I am reading the 3rd edition.
@vladimir-plutonium
@vladimir-plutonium Ай бұрын
You are amazing
@gilberttorres2655
@gilberttorres2655 2 жыл бұрын
excellent
@buttonsplaymusic4896
@buttonsplaymusic4896 Жыл бұрын
Fun video, but I would also like to know how to compress/zip to multiple files, and then reunite them
@2mustange
@2mustange 2 жыл бұрын
Encryption could be a good next course.
@WizardAus
@WizardAus 7 ай бұрын
after changing my ownership permissions to my user I was unable to run the command 'tar -cf etc_bkp.tar etc/' -- the output I received was: tar: etc/gshadow-: Cannot open: Permission denied tar: etc/shadow-: Cannot open: Permission denied tar: etc/gshadow: Cannot open: Permission denied tar: etc/shadow: Cannot open: Permission denied tar: Exiting with failure status due to previous errors I then put sudo in front of it and I was allowed, how come I was unable even though my permissions were changed
@radarguru
@radarguru 2 жыл бұрын
Jay, am I safe to assume it will include hidden files as well?
@robertklimowicz5008
@robertklimowicz5008 2 жыл бұрын
yes
@candyxoxo28
@candyxoxo28 11 ай бұрын
How can I delete large number of files from target.gz file?
@KirkServer-t5t
@KirkServer-t5t 5 ай бұрын
i mean literally there are 6 steps going in circles and I don't know if that is osmething you hvae to do every time now or if it was just poking around with fodlers and stuff, i havent typed anthing in two minutes and im just waiting to actually unzip the frieaking file
@edgewood99
@edgewood99 2 жыл бұрын
I was surprised to see the original file disappear after gzip compressed it. That was scary. Where went the original?
@jim7smith
@jim7smith Жыл бұрын
If your purpose was to save room on the drive, you would want exactly that action to take place. The original is still there, it is just made to take up less room on your drive. Of course the main purpose is to create a backup of existing file(s) that does not take up much room on the backup location. AND Jay was careful to point out that you would NOT do this on your /etc directory, which would bork your system. Additionally, there are many more options to the commands which Jay did not mention because they were out of scope for the purpose of the video which was a basic intro to the usage of both tar and gzip and gunzip.
@46dude41
@46dude41 2 жыл бұрын
Gunzip is terribly inneficient. It only uses one core of the proccessor. I used to do backups this way and changed to "pigz" wich is the modern versión of gunzip for multiprocessors.
@guilherme5094
@guilherme5094 2 жыл бұрын
👍
@_GhostMiner
@_GhostMiner 2 жыл бұрын
Just use 7zip instead of having to do the tar and then the gzip.
@KirkServer-t5t
@KirkServer-t5t 5 ай бұрын
and then when you type the commands in you don't even pause for the person to check if they have the variables or syntax correct, so you sit around for 2 minutes waiting to do something not important to actually well anything and now you have to pause the tape and roll it back to see a 25 string command that could have been on the screen for those whole two minutes, it's like laying shotgun linux, like ok we are goig to do a command in 2 m inutes, bute dont look away because you never know when im going to say it.. and its gone did you miss it? well its ok it wasnt even important anyway, i don't even know how I am going to get this freaking file unzip[ped and i hvaewasted 20 minutes making etc folders back and forth
@KirkServer-t5t
@KirkServer-t5t 5 ай бұрын
dude sometimes i just want to see it completed in one string of events. all these things only take like 2 minutes to run and most of the time you are sitting around waiting to see what you are going to type with no way of anticipating it or having anything to reference, if yo hit a snag now you are half way through with a 10 minute explanation for a 2 minute process, just once. everybody always talks and talks and then 9 minutes in there is something you need to go download or fix and you just wasted 20 minuets when you could have figured it out in 2 minutes
@TheExard3k
@TheExard3k 2 жыл бұрын
Why not use filesystem compression and never worry about compressing your files ever again? I admit I have to deal with zipped stuff, so it's good to know how to best deal with them. Otherwise ZFS and BTRFS cover all my storage, incl. compression.
@virtuallifeform
@virtuallifeform 2 жыл бұрын
Totally different use case. And it doesn't help at all when you want to exchange sets of files with other people.
@zeppelinmexicano
@zeppelinmexicano 10 ай бұрын
Nice video but I would never use etc as an example with people who don't know what they are doing. I know, you warned them, but I still cringe. What can go wrong? That is the first question to ask. Answer: plenty when the user doesn't know how a file system works.
Using nmap to scan networks (Awesome Linux Tools)
16:07
Learn Linux TV
Рет қаралды 37 М.
How to Interpret Load Average in Linux (Linux Crash Course Series)
15:23
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
Archiving and Compression on Linux - Basic tar Commands
16:11
tutoriaLinux
Рет қаралды 65 М.
Linux Crash Course - The df and du Commands
20:28
Learn Linux TV
Рет қаралды 31 М.
How to Use Tar on Linux | Command Line Tips from Linode's Top Docs
23:26
18 Commands That Will Change The Way You Use Linux Forever
29:50
Akamai Developer
Рет қаралды 1,3 МЛН
Linux Crash Course - Understanding Logging
29:10
Learn Linux TV
Рет қаралды 55 М.
Linux Command-Line Tips & Tricks: Over 15 Examples!
31:37
Learn Linux TV
Рет қаралды 223 М.
Linux Crash Course - Understanding Memory and Swap Usage
20:55
Learn Linux TV
Рет қаралды 52 М.
Zip vs Tar.gz Files Explained and Compared (Archiving and the DEFLATE algorithm)
16:32
Tony Tascioglu (TechnoTony)
Рет қаралды 11 М.
What is $PATH on a Linux Shell? (The Linux Crash Course Series)
21:52
Learn Linux TV
Рет қаралды 37 М.
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН