segunda-feira, 30 de abril de 2012

Linux - Criar tarball



Para criar
tar -zcvf NOME_DO_ARQUIVO.tar.gz NOME_DA_PASTA/

Para listar os arquivos dentro de uma tarball utilize:
tar -tvf arq.tar

Para extrair os arquivos da tarball utilize:
tar -xf arq.tar

Nenhum comentário:

Postar um comentário

Linux bash file returns unexpected token `$'do\r''

open file in vi edit with   vi filename.sh   command; type in vi  :set ff=unix  command; save file with  :wq It will save the file with unix...