delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/22/09:36:00

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <002401c4d09f$18b06f50$55dcd40a@advancemags.com>
From: "Chuck" <SkiLover AT softhome DOT net>
To: cygwin AT cygwin DOT com
References: <002001c4ce54$81931010$55dcd40a AT advancemags DOT com> <Pine DOT GSO DOT 4 DOT 61 DOT 0411191613400 DOT 16712 AT slinky DOT cs DOT nyu DOT edu> <001301c4ce80$cdd09070$55dcd40a AT advancemags DOT com> <419F006A DOT 7090703 AT x-ray DOT at>
Subject: Re: pax available?
Date: Mon, 22 Nov 2004 09:25:19 -0500
MIME-Version: 1.0
X-IsSubscribed: yes

Thank you very much. Now at least I know that (a) pax is not officially part
of cygwin yet, and (b) where I can download the sources to compile it myself
if I feel safe with an alpha version.

Does that version for the MS Resource Kit work on XP? That's probably the
version I had under Win2K .

I did see a version available in the SFU which can be downloaded free, but
that seems like overkill just to get one utility.

I'm assuming that the one from alpha.gnu.org is not stable yet. Is there a
way to download the one from the resource kit (I've googled for it and can't
find it anywhere) which I'm sure is stable.

    Chuck

----- Original Message ----- 
From: "Reini Urban" <rurban AT x-ray DOT at>
To: "Chuck" <SkiLover AT softhome DOT net>
Cc: <cygwin AT cygwin DOT com>
Sent: Saturday, November 20, 2004 3:29 AM
Subject: Re: pax available?


> Chuck schrieb:
> > I'm actually referring to pax format archives (ustar).
> >
> > I want to be able to unarchive files - many files - but changing one
string
> > in the name to another. I typically use it to clone databases on
Solaris. I
> > may have 15 mount points all with a subdirectory named DB1. When I
extract
> > the files, I don't want to put them into the DB1 subdirectories. I want
to
> > put them into subdirectories named DB2. Or maybe I want to restore them
to
> > different mount points. Whatever. Unless I'm misunderstanding you I'd
have
> > to do each one separately with unzip. There could be hundreds within one
> > archive. With pax I can have the utility rename them all automatically
as it
> > extracts them with a simple command like...
> >
> > pax -r -s/DB1/DB2/p < filename.pax
>
> pax is in the package paxutils, which is not yet in cygwin.
> http://directory.fsf.org/paxutils.html
>
> Mark H. Colburn <markcol AT jhereg DOT com> created another `pax' program in
> 1989. The 1.1 version was published in comp.sources.unix, volume 17.
>  From a 2.0 OS/2 port, Ian Stewartson made 2.1 and is working on version
> 2.2. ftp://sunsite.unc.edu/pub/Linux/utils/compress/pax-2.1.tar.gz
>
> However it's straightforward to build paxutils. (into /usr/local)
>
> cd /usr/src
> wget ftp://alpha.gnu.org/pub/gnu/paxutils/paxutils-2.4h.tar.gz
> tar xfz paxutils-2.4h.tar.gz
> cd paxutils-2.4h
> ./configure
> make && make check
> make install DESTDIR=/usr/src/paxutils-2.4h/.inst
>
> several tar tests will fail:
> 44. ./t-create.m4:3     ok
> 45. ./t-create.m4:14    ignored near `t-create.m4:14'
> 46. ./t-create.m4:40    ok
> 47. ./t-create.m4:56    ok
> 48. ./t-create.m4:76    FAILED near `t-create.m4:120'
> 49. ./t-extract.m4:3    ok
> 50. ./t-extract.m4:17   ignored near `t-extract.m4:17'
> 51. ./t-extract.m4:37   ok
> 52. ./t-extract.m4:53   ok
> 53. ./t-extract.m4:68   ok
> 54. ./t-exclude.m4:3    ok
> 55. ./t-append.m4:3     ok
> 56. ./t-delete.m4:3     FAILED near `t-delete.m4:16'
> 57. ./t-delete.m4:20    ok
> 58. ./t-incremen.m4:3   FAILED near `t-incremen.m4:23'
> 59. ./t-incremen.m4:27  ok
> 60. ./t-gzip.m4:3       ok
> 61. ./t-volume.m4:3     ok
> mv: cannot move `stderr2' to `stderr': Permission denied
> ...
>
> Note that paxutils includes unstable versions of tar and cpio. That
> might be the explanation why.
>
> I have another version from the MS resource kit:
> $ pax --help
> c:\WINNT\system32\pax.exe: illegal option---
> Usage: c:\WINNT\system32\pax.exe -[cimopuvy] [-f archive] [-s replstr]
> [-t device] [pattern...]
> c:\WINNT\system32\pax.exe -r [-cimopuvy] [-f archive] [-s replstr] [-t
> device] [pattern...]
> c:\WINNT\system32\pax.exe -w [-adimuvy] [-b blocking] [-f archive] [-s
> replstr] [-t device] [-x format] [pathname...]
> c:\WINNT\system32\pax.exe -r -w [-ilmopuvy] [-s replstr] [pathname...]
> directory
>
> For more information on c:\WINNT\system32\pax.exe syntax, see Command
> Reference Help in the Windows Help file.
> -- 
> Reini Urban
> http://xarch.tu-graz.ac.at/home/rurban/
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019