Making a tarfile smaller

Keep the size of the tarfile to a minimum by excluding files that can be recreated from files contained in the tarfile. Examples are:

  1. .o (object) files that can be recreated by compiling the program source code.
  2. .dvi files produced by processing TeX and LaTeX source files.
  3. .ps (postscript) files generated by drawing and publishing packages.

After you have created a tarfile, you can then reduce its size by using the compress command. For example:

   compress project.tar

This will create a file called project.tar.Z. You can unpack a compressed tarfile without uncompressing it.


[Home] [Search] [Index] This site maintained by unixhelp@mathcs.duq.edu