tar(1)



NAME

     tar - tape archiver


SYNOPSIS

     tar [Fcotvxp] [f] tarfile file ...


OPTIONS


     F    Force tar to continue after an error

     c    Create a new archive; add named files

     o    Set uid/gid to original values on extraction

     f    Next argument is name of tarfile

     t    Print a table listing the archive's contents

     v    Verbose mode-tell what is going on as it happens

     x    The named files are extracted from the archive

     p    Restore file modes, ignore creation mask

     D    Directory only, do not recurse


EXAMPLES


     tar c /dev/fd1 .    # Back up current directory to /dev/fd1

     tar xv /dev/fd1 file1 file2
                         # Extract two files from the archive

     tar cf - | (cd dest; tar xf -)
                         # Copy current directory to dest


DESCRIPTION


     Tar is a POSIX-compatible archiver, except that it  does  not  use  tape.
     It's  primary  advantage  over ar is that the tar format is somewhat more
     standardized than the ar format,  making  it  theoretically  possible  to
     transport  MINIX files to another computer, but do not bet on it.  If the
     target machine runs MS-DOS , try doswrite .


SEE ALSO

     compress(1), vol(1).