First of all: extension *.tar is the as tar.gz
Create tgz Archive with this command:
tar -cvzf newArchive.tgz sourceFileOrFolderNameForArchive
What is -cvzf:
c - "create" it means you want to create this archive
v - "verbose" if you want to see the process... it shows details about the results of running tar.
z - "zip" it means you want to compress file. tar will use the `compress' program.
f - "filename" it means you want to name archive with the specific name.
If you want to read the TAR manual in Terminal type in Terminal man tar
Or read this here http://ss64.com/bash/tar.html
No comments:
Post a Comment