tar gzip example

tar czvf mydirectory.tgz mydirectory
  1. c – create a new archive.
  2. z – gzip’d the archive.
  3. v – work verbosely, showing me the name of each file you add. This is optional.
  4. f – specifies that you want to use the following filename (mydirectory.tgz) as the name of the archive.

http://www.devdaily.com/blog/post/linux-unix/how-work-files-tar-gzip-tgz

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.