linux.los.ro


Linux Operating System

Arhiva tar.gz

Cereti ajutor aici daca sunteti incepator in lumea Linux si aveti nevoie de ajutor

Arhiva tar.gz

Postby yamamoto » Thu Aug 22, 2013 9:32 am

Am instalat de curant un Ubuntu si usor usor incepe sa-mi placa. Cum arhivez un folder din terminal? Vreau sa fac tar.gz de exemplu.
yamamoto
 
Posts: 3
Joined: Thu Aug 22, 2013 9:26 am

Re: Arhiva tar.gz

Postby inferno » Thu Aug 22, 2013 9:34 am

Bine ai venit :)
Comanda pentru crearea unui tar.gz arata cam asa:
Code: Select all
tar -zcvf nume_arhiva.tar.gz /cale/folder
inferno
Site Admin
 
Posts: 7
Joined: Fri Jun 14, 2013 4:13 pm

Re: Arhiva tar.gz

Postby yamamoto » Thu Aug 22, 2013 9:45 am

Mersi, a mers. Cum fac acum sa dezarhivez un anume folder din arhiva? tar zxvf vad ca extrage tot...
yamamoto
 
Posts: 3
Joined: Thu Aug 22, 2013 9:26 am

Re: Arhiva tar.gz

Postby inferno » Thu Aug 22, 2013 9:48 am

Faci prima data o listare a continutului arhivei
Code: Select all
tar tf nume_arhiva.tar.gz

Apoi adaugi la sfarsit calea completa a folderului
Code: Select all
tar zxvf nume_arhiva.tar.gz cale/folder/
inferno
Site Admin
 
Posts: 7
Joined: Fri Jun 14, 2013 4:13 pm

Re: Arhiva tar.gz

Postby yamamoto » Thu Aug 22, 2013 9:50 am

Multumesc, merge perfect.
yamamoto
 
Posts: 3
Joined: Thu Aug 22, 2013 9:26 am

Re: Arhiva tar.gz

Postby vaiybora » Thu Oct 19, 2017 8:38 am

This page is very good,thank for sharing good topic.

ทองดีฟันขาว

Image
vaiybora
 
Posts: 25
Joined: Tue Oct 17, 2017 11:31 am


Return to Incepatori

Who is online

Users browsing this forum: No registered users and 1 guest

cron