Wayne Davison wayned at samba.org
Thu Jun 4 16:20:42 GMT 2009

On Tue, Jun 02, 2009 at 04:08:26PM +0000, C?sar Tejeda Hern?ndez wrote:
> rsync -tai --remove-source-files --ignore-existing --no-g --no-o --no-p
> user at source:operativo/almacen/{ESP05/recorte/*.tar,EU/recorte/*.tar} /media/BACKUP3_PROMES10/PROMES10km/
> [...]
> ¿Is there any way to specify that rsync should not report an error if it finds no files to backup?

Your shell is probably including the raw wildcards when they don't match
anything, so you should be using include/exclude options instead of the
wildcards.  For instance:

rsync -rti --remove-source-files --ignore-existing --include=*.tar --exclude=* \
user at source:operativo/almacen/{ESP05,EU}/recorte/ /media/BACKUP3_PROMES10/PROMES10km/


More information about the rsync mailing list