254 720 730035

Home » How to » How to tar a directory in Unix or Linux

How to tar a directory in Unix or Linux

You need to use the tar command as follows (syntax of tar command):
tar -zcvf archive-name.tar.gz directory-name
Where,

  • -z : Compress archive using gzip program
  • -c: Create archive
  • -v: Verbose i.e display progress while creating archive
  • -f: Archive File name

4 Responsesso far.

  1. Terrinfoky says:

    Comparatif Cialis Viagra Levitra Medicine From Mexico [url=http://byuvaigranonile.com]viagra[/url] Le Viagra Medecine Finasteride 5 Mg Generic Tablets

  2. An interesting discussion is worth comment. I think that you should write more on this topic, it might not be a taboo subject but generally people are not enough to speak on such topics. To the next. Cheers

  3. Brett says:

    I do enjoy the manner in which you have presented this specific difficulty plus it does give us some fodder for thought. Nonetheless, from what precisely I have seen, I simply just wish as the actual feed-back pile on that men and women remain on point and not get started upon a tirade associated with some other news du jour. Still, thank you for this outstanding point and though I can not necessarily agree with it in totality, I value your standpoint.

  4. I have not checked in here for some time as I thought it was getting boring, but the last several posts are great quality so I guess I’ll add you back to my daily bloglist. You deserve it my friend 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *