Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 May 1998 22:11:50 -0500 (CDT)
From:      dkelly@hiwaay.net
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   docs/6801: pax manpage error
Message-ID:  <199805310311.WAA00947@nospam.hiwaay.net>

next in thread | raw e-mail | index | archive | help

>Number:         6801
>Category:       docs
>Synopsis:       error in example for pax
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 30 21:20:00 PDT 1998
>Last-Modified:
>Originator:     David Kelly
>Organization:
>Release:        FreeBSD 2.2.6-STABLE i386
>Environment:

	

>Description:

% man pax says:

     The following commands:
           mkdir newdir
           cd olddir
           pax -rw . newdir
     will copy the entire olddir directory hierarchy to newdir.


>How-To-Repeat:

nospam: {1010} mkdir olddir newdir
nospam: {1011} cd olddir
nospam: {1012} touch tomcat callie patches grumpy rebok
nospam: {1013} ls 
callie          grumpy          patches         rebok           tomcat
nospam: {1014} pax -rw . newdir
pax: Cannot access destination directory newdir <No such file or directory>
nospam: {1015} pax -rw . ../newdir
nospam: {1016} cd ../newdir
nospam: {1017} ls
callie          grumpy          patches         rebok           tomcat
nospam: {1018}

>Fix:
	
correct command (as shown above) is "pax -rw . ../newdir"
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805310311.WAA00947>