Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: cgi@crl.com (Paul Smith)
Subject: Re: ?pax pattern problems?
Date: 3 Nov 1994 05:16:13 -0800	[thread overview]
Message-ID: <39anqt$lkp@crl3.crl.com> (raw)
In-Reply-To: 396g1a$fe9@crl8.crl.com

Paul Smith (cgi@crl.com) wrote:

: The problem is on the restoration side, the man page for pax leads you
: to believe that either the cpio style of file patern match is possible
: or regex style will work, but with much testing I've found that it's 
: neither:

: pax -rv </dev/rmt0h '*/file/*' 

: does not fetch all paths that have file as either a file or a dir!!


: pax -rv </dev/rmt0h '.*/file/.*' 

: The above cmd line matches nothing.

I'll answer my own question.  It seems the regex pattern matching that
the man page for pax describes is not exactly what I figured.  The
way to fetch portions of the tape contents is to just supply the
path fragment you want to match:

If you what the paths rooted at:

usr/lib/abc

Then use the command line:

pax -rv </dev/rmt0h usr/lib/abc

This is similar to "tar".




      reply	other threads:[~1994-11-03 13:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-11-01 22:38 ?pax pattern problems? Paul Smith
1994-11-03 13:16 ` Paul Smith [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox