Yes, I tried that but discovered another issue after I mailed you. Tar
reports symbolic links, whereas find just lists the link, so the output
from tar and find won't be the same. (tar shows the link and the file it
is connected to). Which means the only way to do it is to trust tar to
report all of the files it finds and leave out cpio.
Still a puzzle.
sean
Sergey Poznyakoff wrote:
Sean Fulton <[EMAIL PROTECTED]> wrote:
Glitch: Directories read off of the tar archive have a trailing slash,
while those read off of find don't. Any ideas?
Indeed, tar traditionally suffixes directory names with a slash. I
didn't think about it. Do you think it is worth implementing some
command line option to suppress this behavior? In the meantime, it can
be handled by piping tar output through the following command:
sed 's,/$,,'
Regards,
Sergey
--
Sean Fulton
GCN Publishing, Inc.
Internet Design, Development and Consulting For Today's Media Companies
http://www.gcnpublishing.com
(914) 937-2451, x203
_______________________________________________
Bug-cpio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-cpio