Merge pull request #146 from ImmortalPC/master

[TAR] Add a new command in tar
This commit is contained in:
Chris Lane 2014-02-20 16:32:46 -05:00
commit e268ba3df2
1 changed files with 3 additions and 0 deletions

View File

@ -21,3 +21,6 @@ tar -cjvf /path/to/foo.tgz /path/to/foo/
# To list the content of an .bz2 archive:
tar -jtvf /path/to/foo.tgz
# To create a .gz archive and exclude all jpg,gif,... from the tgz
tar czvf /path/to/foo.tgz --exclude=\*.{jpg,gif,png,wmv,flv,tar.gz,zip} /path/to/foo/