what is the right exit code for some vanished files?

Ming Zhang blackmagic02881 at gmail.com
Fri Dec 14 23:24:51 GMT 2007


What should be the right exit code for vanished file in this scenario.

(1) Use inotify or other mechanism to check changed files and then
generate a file list.

(2) < file get deleted>

(3) run rsync with --files-from with the old list.

then send_file_list()->link_stat() will return errno 2 on some files and
then set exit code to 23.

but shall rsync return 24?

Ming Zhang

@#$%^ purging memory... (*!%

More information about the rsync mailing list