Merge pull request #324 from dypublic/tar-add-destination-1

Update tar
This commit is contained in:
Chris Allen Lane 2017-09-04 19:38:41 -04:00 committed by GitHub
commit cdee0e44cd

View File

@ -19,6 +19,9 @@ tar -xjvf /path/to/foo.tgz
# To create a .bz2 archive: # To create a .bz2 archive:
tar -cjvf /path/to/foo.tgz /path/to/foo/ tar -cjvf /path/to/foo.tgz /path/to/foo/
# To extract a .tar in specified Directory:
tar -xvf /path/to/foo.tar -C /path/to/destination/
# To list the content of an .bz2 archive: # To list the content of an .bz2 archive:
tar -jtvf /path/to/foo.tgz tar -jtvf /path/to/foo.tgz