diff options
-rw-r--r-- | bin/pax/pax.1 | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/bin/pax/pax.1 b/bin/pax/pax.1 index b3367670cd0..6afcd1cb50d 100644 --- a/bin/pax/pax.1 +++ b/bin/pax/pax.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pax.1,v 1.49 2007/02/24 09:50:55 jmc Exp $ +.\" $OpenBSD: pax.1,v 1.50 2007/03/06 14:40:22 jmc Exp $ .\" $NetBSD: pax.1,v 1.3 1995/03/21 09:07:37 cgd Exp $ .\" .\" Copyright (c) 1992 Keith Muller. @@ -1053,13 +1053,14 @@ $ cd olddir $ pax -rw . ../newdir .Ed .Pp -Read the archive -.Pa a.pax , -with all files rooted in +Extract files from the archive +.Pa a.pax . +Files rooted in .Pa /usr -into the archive extracted relative to the current directory: +are extracted relative to the current working directory; +all other files are extracted to their unmodified path. .Pp -.Dl $ pax -r -s ',^//*usr//*,,' -f a.pax +.Dl $ pax -r -s ',^/usr/,,' -f a.pax .Pp This can be used to interactively select the files to copy from the current directory to |