bug-cpio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-cpio] cpio can't read large files


From: Sean Fulton
Subject: Re: [Bug-cpio] cpio can't read large files
Date: Wed, 18 Jan 2006 07:40:12 -0500
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)

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 <address@hidden> 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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]