analyse(tf);
if (o_flags & ff_upload) {
- if (o_flags & ff_singlepage)
+ if (npages<=1)
fatal("Recognition successful, but refusing to upload partial data\n"
" (--single-page specified). Specify an output mode?");
}
if (DEBUGP(rsync))
fprintf(stderr,"executing rsync to fetch %s to %s\n",remote,local);
execlp(rsync, "rsync",
- DEBUGP(rsync) ? "-vLt" : "-Lt",
+ DEBUGP(rsync) ? "-zvLt" : "-zLt",
"--",remote,local,(char*)0);
sysassert(!"exec rsync failed");
}