--- "Thomas Bushnell, BSG" <[EMAIL PROTECTED]> wrote: > Neal H Walfield <[EMAIL PROTECTED]> writes: > > > > Oh, cp -R is different. I'm of two minds about what the Right Thing > > > is for the cp -R case. > > > > > > The way to copy it, of course, is to fetch the translator entry and > > > set it on the copy. > > > > I am not clear what you mean here. > > Open the node with O_NOTRANS. > Fetch the translator spec with file_get_translator. > Cope the contents of the node to the new file. > Set the translator spen on the new file with file_set_translator. > > Thomas >
Do cpio, tar and pax do this? Archivers are for making backups. $ cd /src $ find . -depth -print | cpio -pdumv /dst $ cd /src $ tar cf - . | (cd /dst ; tar xvf -) $ pax -rwv -s ';/src;/dst;' /src / __________________________________________________ Do You Yahoo!? Yahoo! Sports - sign up for Fantasy Baseball http://sports.yahoo.com

