Tar: Become a master in archiving

Brand : Tar

Become a master in archiving and compressing files using the tar tool with this cheat sheet, filled with examples and commonly used options. This manual page documents the GNU version of tar , an archiving program designed to store and extract files from an archive file known as a tarfile . A tarfile may be made on a tape drive, however, it is also common to write a tarfile to a normal file. In this comprehensive guide, we will explore the various options and examples of using the Tar command to compress files on a Linux system. The tar command is commonly used to compress files in Linux when combined with options like -z (gzip) or -j (bzip2). How to create an archive We have a list of the following files which we'll compress with tar . List of files to be compressed. To compress them, we'll use tar like this: tar -czvf logs_archive. tar .gz " Let's break down this command and look into each flag. -c is creating and archive. -z is using gzip compression. -v is providing details of the files that have been archived. -f is creating an archive with the name 'logs_archive. tar .gz' as supplied in the command above. In the results below, we ...

₹ 111.000
₹ 690.000 -18%
Quantity :