General Information
Tar archiving utility.
Checklist
Options
Archive and compress (using gzip) the /var/log directory
tar -cvzf logs.tar.gz /var/log
List contents of archive
tar -tf logs.tar.gz
Decompress and unpack at the same time to current directory
tar -zxvf logs.tar.gz
Decompress and unpack at the same time to a different existing directory
tar -zxvf logs.tar.gz -C /home/rjones/data/
Add a new file to an existing archive
tar -rvf logs.tar newlog.log