mirror of
https://github.com/cheat/cheat.git
synced 2025-06-05 22:58:36 +02:00
[TAR] Add a new command in tar
This commit is contained in:
parent
e7d6f88912
commit
f3342373cd
@ -21,3 +21,6 @@ tar -cjvf /path/to/foo.tgz /path/to/foo/
|
|||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
|
# 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/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user