*********************************************************
john's notes
*********************************************************
EXAMPLES
      Create a new archive on /dev/rfloppy/c4t4d0 and copy file1 and file2
      onto it, using the default blocking factor of 20.  The key is made up
      of one function letter (c) and two function modifiers (v, and f):

           tar cvf /dev/rfloppy/c4t4d0 file1 file2

      Archive files from /usr/include and /etc:

           tar cv -C /usr/include -C /etc

      Use tar in a pipeline to copy the entire file system hierarchy under
      fromdir to todir:

           cd fromdir; tar cf - . | (cd todir; tar xf -)

      Archive all files and directories in directory my_project in the
      current directory in a file called my_project.TAR also in the current
      directory:

           tar -cvf my_project.TAR my_project

moving a PROJECT from one directory to another

  1. cd /oldprojdir
  2. tar -cvf proj.TAR *
  3. (ftp from one machine to another or mv file)
  4. cd /newprojdir
  5. tar xvf proj.TAR
  6. (chown -R user:users /newprojdir (if a different userid)

john's System Admin page. -- john's home page. -- email: john@wagoneers.com
Copyright © 1997 John Meister All rights reserved.