Redirecting tar output

Jonathan Hutchins hutchins at tarcanfel.org
Thu Feb 20 15:28:08 CST 2003


Quoting Jared Smith <jared at trios.org>:

> I have never used this option, but man tar sez:
> -C directory 
> This is a positional argument which sets the 
> working directory for the following files. When 
> extracting, files will be extracted into the 
> specified directory; when creating, the specified 
> files will be matched from the directory.

All that does is create the named directory within the specified 
directory.  tar -C foo -xcvf foo.1-2 creates foo/foo.1-2/ instead of 
foo.1-2/.

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/




More information about the Kclug mailing list