Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: Notesfiles $Revision: 1.7.0.8 $; site uiucdcs Path: utzoo!watmath!clyde!cbosgd!ihnp4!inuxc!pur-ee!uiucdcs!acheng From: acheng@uiucdcs.CS.UIUC.EDU Newsgroups: net.unix-wizards Subject: Re: tar fs copy Message-ID: <13700116@uiucdcs> Date: Wed, 16-Oct-85 12:21:00 EDT Article-I.D.: uiucdcs.13700116 Posted: Wed Oct 16 12:21:00 1985 Date-Received: Sat, 19-Oct-85 05:08:28 EDT References: <240@investor.UUCP> Lines: 16 Nf-ID: #R:investor.UUCP:-24000:uiucdcs:13700116:000:517 Nf-From: uiucdcs.CS.UIUC.EDU!acheng Oct 16 11:21:00 1985 >/* Written 3:30 am Oct 14, 1985 by guy@sun.uucp in uiucdcs:net.unix-wizar */ >> > (cd $1; tar cf - .) | (cd $2; tar xf -) >> >> Why not ( cd $2; tar -cf - -C $1 . | tar xf - ) ? > >Because the -C flag to "tar" was added by Berkeley in 4.2BSD; it's not >present in all versions of "tar". > > Guy Harris Our 4.2 version of tar.c doesnot have a -C option nor does the man page says so. What is it suppose to do? In the search of the 'C' option, i found an 'F' option. Again, no comment, no man page coverage.