Make a tar file


#1

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


#2

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