Read the video transcript
Archives bundle many files into one, and compress them to save space. In this video, you'll learn tar, gzip and zip: how to create them, look inside them, and unpack them. All live, on a real Ubuntu server, with SSH Command. We're connected, with the Shell view open. tar creates an archive. -c means create, -z compresses it with gzip, and -f names the file. So tar -czf site.tar.gz site packs the whole site folder into one small file. To look inside without unpacking, use -t, for list. tar -tzf shows every file in the archive. To unpack, use -x, for extract. -C chooses the destination folder. Make a folder called restore, extract into it, and the whole site is back. gzip compresses a single file. -k keeps the original, otherwise gzip replaces it. Here numbers.txt shrinks to about a third of its size. gunzip reverses it. zip makes the files that Windows and macOS open directly. -r includes folders, and -q keeps the output quiet. unzip -l lists what's inside, and unzip on its own extracts. Use tar.gz on Linux servers, and zip when you share files with people on Windows or Mac. And in SSH Command, the search bar lists these commands with their options. Type tar, and copy one. That's archives: tar for bundling folders, gzip for single files, and zip for sharing with Windows and Mac. The full guide is at sshcommand.com, under archive commands. SSH Command is free for personal use. The link is in the description. Thanks for watching.