to make a tar file:

tar -cvf tastro.tar /path/to/directory

to make a tar.gz file:

tar -czvf tastro.tar.gz /path/to/directory