tar Tape Archive

Tar used to create archive files in Unix/Unix like systems to make tape backups.

Create tar archive

tar -cvf my_archive.tar myDirectory

c = Create
v = Verbose
f = File

List files in an archive

tar -tvf my_archive.tar

t = list
v = verbose
f = file

Create tar archive with gzip compression

tar -cvzf my_archive.tar.gz myDirectory

c = Create
v = Verbose
z = Gzip Compression
f = File

Un tar / unzip

tar -xvf  my_archive.tar


Comments

Popular posts from this blog

Connect Huawei Modem Linux - USB Modeswitch

Department for Persons Registration of Sri Lanka

Java Byte Code, Interpreter and JIT