The additional option z represents gzip compression. An example of this is: tar -cvzf /home/sampleArchive If you want better compression, then you can also use. v – shows a verbose description of the compression progress.The command uses -cvf options which stand for: Here /home/sampleArchive is the directory which needs to be compressed, creating sampleArchive.tar. An example of such an archive is: tar -cvf sampleArchive.tar /home/sampleArchive tar compressions for a file as well as directories. Before we start, you’ll need to SSH into your VPS. Let’s learn what basic operations you can perform by using tar. To reduce the usage of space on your system, since compression will occupy less space.Take a backup of your website, data or anything else.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |