I run this cmd to backup my folders:
$ rsync -av --exclude {/mnt/dati/Film/, /mnt/dati/Scout/} --delete /mnt/dati/ /media/cirelli/HD1TB/backup/dati
sending incremental file list
And rsync answer is:
rsync: link_stat "/mnt/dati/Scout/}" failed: No such file or directory (2)
but "Scout" directory exist! Can't understand what I mistake. Even Film is copied, even if there isn't any error message! What's wrong in my execution of rsync?
Thank you very much folks
(oh, I have read man https://download.samba.org/pub/rsync/rsync.html and examples http://www.thegeekstuff.com/2011/01/rsync-exclude-files-and-folders/ but still find any way to solve..!)
I also tried (this is interrupted by CTRL+C):
cirelli@asus:~$ rsync -av --exclude /mnt/dati/Film/ --exclude /mnt/dati/.Trash-1000/ --delete /mnt/dati/ /media/cirelli/HD1TB/backup/dati
sending incremental file list
deleting Documenti/script/
rsync: readlink_stat("/media/cirelli/HD1TB/backup/dati/Documenti/RPi/.2015-05-05-raspbian-wheezy.zip.2sXers") failed: Input/output error (5)
deleting Documenti/RPi/KODI/
deleting Documenti/RPi/berryboot-20130908.zip
deleting Documenti/RPi/2015-05-05-raspbian-wheezy.zip
IO error encountered -- skipping file deletion
.Trash-1000/files/
.Trash-1000/files/2015-05-05-raspbian-wheezy.zip
.Trash-1000/files/berryboot-20130908.zip
.Trash-1000/files/settembre 12.img
^Crsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(632) [sender=3.1.1]
rsync: [sender] write error: Broken pipe (32)