Thursday, August 2, 2012

tar command linux

1. create tar file
tar -cvf test.tar test/
tar -cvzf test.tar.gz test/

2. extract tar file
tar -xvf test.tar
tar -xvzf test.tar.gz

reference:
http://www.computerhope.com/unix/utar.htm

No comments:

Post a Comment