racsw at frontiernet.net
Tue Apr 8 15:35:51 MDT 2003
On Mon, 2003-04-07 at 20:38, Bear Giles wrote:
> Robert wrote:
> > I'm using this syntax:
> > find -name $TARGET -print | cpio -oAO $ARCHIVE_FILE
> > I thought the syntax was correct, but apparently not, as I receive this
> > error"
> > "cpio: premature end of file"
> You need to either use
> find ... -print0 | cpio -oA0 ...
> find ... -print | cpio -oA ...
> The former is preferred since it will handle files with embedded
I tried both, the first results in the same error, the second brings
up the MAN cpio page, indicating incorrect syntax.
Robert <racsw at frontiernet.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 232 bytes
Desc: This is a digitally signed message part
More information about the LUG