mirror of
https://github.com/cheat/cheat.git
synced 2025-07-06 13:51:56 +02:00
Update tar
Add extract a .tar in specified Directory
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user