ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

In web hosting, which command is used to compress a file in .tar.gz format?

user-image
تم إضافة السؤال من قبل Syed Ashar Hasan Shahbazi , DevOps Support Manager , 10Pearls
تاريخ النشر: 2014/01/22

Try this: tar -zcvf tar-archive-name.tar.gz source-folder-name

but I prefer bz2 format

tar -cvjf tar-archive-name.tar.gz source-folder-name

Osman Elamin
من قبل Osman Elamin , IT Technical Support Engineer , Judiciary Of Sudan

The name of the tar command is short for tape archiving, commonly used for simply combine a few files into a single file, for easy storage and distribution. A version of tar produced by the Free Software Foundation, If your system uses GNU tar, you can easily use gzip (the GNU file compression program) in conjunction with tar to create compressed archives. To do this, enter:tar -cvzf file.tar.gz inputfile1 inputfile2Here, the  z  option tells tar to zip the archive as it is created.

use the below command

tar -cvzf    detination_file.tgz    <sorice_file_Name>

المزيد من الأسئلة المماثلة

هل تحتاج لمساعدة في كتابة سيرة ذاتية تحتوي على الكلمات الدلالية التي يبحث عنها أصحاب العمل؟