Untar
tar xvf filenaam.tar : untar
Unzip
gunzip -f myfile.gz
Uncompress the file myfile.gz and if the uncompressed file(s) already exist force an overwrite. When doing this the file myfile.gz will no longer be on the drive.
gunzip -c myfile.gz > myfile.txt
Uncompress the file myfile.tz to the myfile.txt file, however, don't delete the .gz file. This is useful if you don't want to delete the .gz and keep it with the uncompressed file.
Hoe zip en tar je in een commando
tar -cvzf jmt_$FILENAAM.tar.gz *.dmp *.log
Hoe unzip en untar je in een commando
tar -zxvf filenaam.tar.gz
- z doet het unzippen
-x doet het extracten
- f filenaam
-verbose
Geen opmerkingen:
Een reactie posten