Keep the size of the tarfile to a minimum by excluding files that can be recreated from files contained in the tarfile. Examples are:
After you have created a tarfile, you can then reduce its size by using the compress command. For example:
This will create a file called project.tar.Z. You can unpack a compressed tarfile without uncompressing it.