Displaying 1 result from an estimated 1 matches for "nk01".
Did you mean:
na01
2001 Dec 18
1
return status of rsync
Hello,
rsync returns zero if it is successful but a non-zero (2816) if it can
not find any file(s) to move across. Just curious if that should still
return zero ?
nkapoor> rsync -av * nk01::incoming
building file list ... * : No such file or directory
done
wrote 73 bytes read 337 bytes 820.00 bytes/sec
total size is 0 speedup is 0.00
I am trying to use this return status to determine if the rsync
operation was successful. But the source may or may not have any files
to send. Is t...