Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Corsi N - Z > Sistemi operativi I > uso e sintassi di tar
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
People
.primate.

User info:
Registered: Nov 2005
Posts: 68 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 12:40:04: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
uso e sintassi di tar

ragazzi qualkuno sà spigare bene kome creare,appendere file e mostrare il kontenuto di un file tar??

13-09-2006 10:13
Click Here to See the Profile for People Click here to Send People a Private Message Find more posts by People Add People to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Gusher
Splinter fun club

User info:
Registered: Jan 2003
Posts: 475 (0.06 al dì)
Location: Ovunque
Corso: Informatica
Anno: Done
Time Online: 15 Days, 22:06:15 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Re: uso e sintassi di tar

Originally posted by People
ragazzi qualkuno sà spigare bene kome creare,appendere file e mostrare il kontenuto di un file tar??


man tar

13-09-2006 10:22
Click Here to See the Profile for Gusher Click Here to See the Blog of Gusher Click here to Send Gusher a Private Message Find more posts by Gusher Add Gusher to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
People
.primate.

User info:
Registered: Nov 2005
Posts: 68 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 12:40:04: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

LOL ...
si intendevo magari scrivere qualke dritta del tipo x creare un file tar si fà kosì:...
per appendere file si fà kosì...
per mostrarli kosì..
per appendere file all interno d un ciclo for ksì..
e qualke consiglio da qualke user esperto! :D

13-09-2006 10:32
Click Here to See the Profile for People Click here to Send People a Private Message Find more posts by People Add People to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Gusher
Splinter fun club

User info:
Registered: Jan 2003
Posts: 475 (0.06 al dì)
Location: Ovunque
Corso: Informatica
Anno: Done
Time Online: 15 Days, 22:06:15 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by People
LOL ...
si intendevo magari scrivere qualke dritta del tipo x creare un file tar si fà kosì:...
per appendere file si fà kosì...
per mostrarli kosì..
per appendere file all interno d un ciclo for ksì..
e qualke consiglio da qualke user esperto! :D



Premesso che il man di tar è esaustivo, chiaro e ricco di esempi.
Cosa non ti è chiaro?

13-09-2006 10:35
Click Here to See the Profile for Gusher Click Here to See the Blog of Gusher Click here to Send Gusher a Private Message Find more posts by Gusher Add Gusher to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Simeon
:D

User info:
Registered: Aug 2004
Posts: 984 (0.13 al dì)
Location: Milano
Corso: Informatica
Anno: IT IS OVER!
Time Online: 14 Days, 19:29:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Penso sia:

tar -rf archivio nomefile

In questo modo se l'archivio non esiste te lo crea, e se esiste fa l'append.

Per estrarre l'archivio

tar -xf archivio

In un ciclio di uno script che ho fatto vien fuori cosi' :

for item in $( find $1 -name "*.$EXT" -mtime "$GG" )
do
tar -rf $ARCHIVIO $item
echo $item >> $MAINLOG
done

Last edited by Simeon on 13-09-2006 at 13:42

13-09-2006 13:38
Click Here to See the Profile for Simeon Click here to Send Simeon a Private Message Find more posts by Simeon Add Simeon to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
torak
Renaulto muori

User info:
Registered: Dec 2002
Posts: 440 (0.05 al dì)
Location: Bollate
Corso: Informatica laurea triennale
Anno: 3
Time Online: 6 Days, 2:35:19 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

non per fare i puzzoni... ma effettivamente se impari a trovare le cose in unix diventi molto più veloce dopo. Comunque man tar trovi tutto... per imparare a usare i comandi dello script che ti ha messo simeon fai man bash.
Ciao!

13-09-2006 14:03
Click Here to See the Profile for torak Click Here to See the Blog of torak Click here to Send torak a Private Message Find more posts by torak Add torak to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Simeon
:D

User info:
Registered: Aug 2004
Posts: 984 (0.13 al dì)
Location: Milano
Corso: Informatica
Anno: IT IS OVER!
Time Online: 14 Days, 19:29:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by torak
non per fare i puzzoni... ma effettivamente se impari a trovare le cose in unix diventi molto più veloce dopo.


Hai perfettamente ragione, ma un aiuto specifico di tanto in tanto non fa male.

13-09-2006 14:59
Click Here to See the Profile for Simeon Click here to Send Simeon a Private Message Find more posts by Simeon Add Simeon to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 08:06.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.063 seconds (60.93% PHP - 39.07% MySQL) con 25 query.