[lug] cpio

Robert racsw at frontiernet.net
Mon Apr 7 15:55:27 MDT 2003


Hi folks,
   I'm building a backup script using cpio as the archiver.
One part of the script backs up selected files to a common archive file.
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"

I cannot find this problem in many searches on the net in regards to
Copy Out mode of cpio.
Can anyone tell me what I'm missing here?

Thanks,
-- 
Robert <racsw at frontiernet.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20030407/9c5fec5e/attachment.pgp>


More information about the LUG mailing list