[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tar



Il giorno mer, 15-12-2004 alle 20:13 +0100, Stefano Simonucci ha
scritto:
> Non so se ho capito bene tutta la discussione. Comunque a 
> me sembra che 
> 
> tar -xzvf <archivio.tar> <directory da estrarre> funziona 
> 
> ovviamente il path della directory deve essere specificato cosi' come
> compare nel tar.


Il discorso è nato proprio da questo...
A me non funziona.

se faccio un:
# mkdir test
# cd test
# touch pippo.txt
# tar zcvf test.tgz test

...mi trovo un archivio con quello che mi aspettavo

se faccio:
# tar zxvf test.tgz /test
mi dice che non trova test

stesso discorso se al posto di test passo:
# tar zxvf test.tgz test
o
# tar zxvf test.tgz '/test'
o
# tar zxvf test.tgz 'test'

non capisco dove sbaglio


-- 
Davide Corio                                   davide.corio@redomino.com
Redomino S.r.l.            C.so Monte Grappa 90/b - 10145 Torino - Italy
Tel: +39 011 19502871 - Fax: +39 011 19502871    http://www.redomino.com




Reply to: