Make a tar file

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

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. 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