I'm executing a command like the following to several different systems:
$ rsync -a -v
[email protected]:'/path/to/first/*.log path/to/second.txt' /dest/folder/0007/.
Sometimes *.log does not exist, and that's OK, but rsync generates the following error:
receiving file list ... rsync: link_stat "/path/to/first/*.log" failed: No such file or directory (2)
done
Is there any way to suppress that? The only way I can think of is to use include and exclude filters, which just seem a PITA to me. Thanks!