Précédent Index Suivant

8.9  Manipulation de fichiers archives tar

tar c[zv]f tarfile filenames...
tar t[zv]f tarfile              
tar x[zv]f tarfile              
tar ...                         
% ls -R
Makefile   README     doc/       include/   src/
./doc:
conn.man   conn.txt
./include:
defs.h   exit.h
./src:
conn.c   main.c   resd.c
% tar cf All.tar *
% gzip -best All.tar 
% ls
All.tar.gz  README      include/ 
Makefile    doc/        src/
% zcat All.tar.gz | tar tf -
Makefile
README
doc
doc/conn.txt
doc/conn.man
include
include/defs.h
include/exit.h
src
src/conn.c
src/main.c
src/resd.c
% cd ...
% tar xzvf All.tar.gz 
Makefile
README
doc
doc/conn.txt
doc/conn.man
include
include/defs.h
include/exit.h
src
src/conn.c
src/main.c
src/resd.c

Précédent Index Suivant