FreeBSD Server Administration

« Protect Directory | Main | System Logs »

April 12, 2005

Tar Command

Tar can detect an archive with gz compression and extract the files properly, I used to call gunzip first :-(.

Example
# tar czvf backup.tar.gz *

Extract the archive:
# tar xvf backup.tar.gz

How I did before:
# gunzip dv backup.tar.gz
# tar xvf backup.tar


Category : Command & Utility

Posted by FreeBSD Newbie at April 12, 2005 11:56 PM

Comments

Post a comment



(Optional, will not be shown to the public)

Remember Me?