Subject: Re: Is it acceptable to install by ${TAR}?
To: None <>
From: Alan Barrett <>
List: tech-pkg
Date: 01/02/2006 17:48:26
On Mon, 02 Jan 2006, Rui-Xiang Guo wrote:
> Hmm, I need the --exclude function, how to implement below by ${PAX}?
> ${TAR} --exclude src -cf - . |  ${TAR} -xf - -C ${PREFIX}/share/rox/ROX-Filer

Using the "-s" option to rewrite a file name to the empty string
causes pax to exclude the file.  So try:

${PAX} -rw -s ',^\./src$,,' -s ',^\./src/.*,,' . ${PREFIX}/share/rox/ROX-Filer

--apb (Alan Barrett)