peter-lists at hutnick.com
Mon Apr 7 17:19:17 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
> "cpio: premature end of file"
Are you sure that your find is finding anything . . . ?
And who's idea was it to give cpio an -0 and a -O switch?
More information about the LUG