tar fs copy
acheng at uiucdcs.CS.UIUC.EDU
acheng at uiucdcs.CS.UIUC.EDU
Thu Oct 17 02:21:00 AEST 1985
>/* Written 3:30 am Oct 14, 1985 by guy at 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.
More information about the Comp.unix.wizards
mailing list