tar

Note on using tar

Create archive

$ tar -zcvpf <destination file> <source>

z = gzip
c = create
v = verbose
p = preserve permissions
f = file

Unpack archive

$ tar -xvpf <archive>

x = extract
v = verbose
p = preserve permissions
f = file

 

 

Last Modified on 2016-11-12
This entry was posted in Linux, Snippets
Tagged with ,
Bookmark this article tar