Print this page
OS-1626 tar -C support on extract would be nice

*** 41,51 **** .fi .LP .nf \fBtar\fR x[BeFhilmnopqTvw@/[0-7]][fk][X...][j|J|z|Z] [\fItarfile\fR] [\fIsize\fR] ! [\fIexclude-file\fR]... [\fIfile\fR]... .fi .SH DESCRIPTION .sp .LP --- 41,51 ---- .fi .LP .nf \fBtar\fR x[BeFhilmnopqTvw@/[0-7]][fk][X...][j|J|z|Z] [\fItarfile\fR] [\fIsize\fR] ! [\fIexclude-file\fR]... [\(miC \fIdirectory\fR] [\fIfile\fR]... .fi .SH DESCRIPTION .sp .LP
*** 79,88 **** --- 79,92 ---- Performs a \fBchdir\fR (see \fBcd\fR(1)) operation on \fIdirectory\fR and performs the \fBc\fR (create) or \fBr\fR (replace) operation on \fIfile\fR. Use short relative path names for \fIfile\fR. If \fIfile\fR is "\fB\&.\fR", archive all files in \fIdirectory\fR. This operand enables archiving files from multiple directories not related by a close common parent. + .sp + This option may also be passed once to \fBx\fR (extract). In this case the + program will \fBchdir\fR to \fIdirectory\fR after opening the archive, but + before extracting its contents. .RE .sp .ne 2 .na