make a tar file

make a tar file

Posted by: neutekz
Posted on: 2006-01-03 18:13:00

how do i make a .tar file of my whole directory (/home/nick/thisfolder/) ?

and how do i extract it later on the server?

all done via ssh

Re: make a tar file

Posted by: matttail
Posted on: 2006-01-03 18:28:00

typing "man tar" will get you the manual page for tar, that's very helpful. It explains what all of the possible options are and what they do. http://www.linuxheadquarters.com/howto/basic/tar.shtml this also looks like a nice webpage with examples.

Basically, it looks like this:

To create: tar -cvf whatever.tar folder

to extract : tar -xvf whatever.tar



-Matttail

Tags: tar filesshnick