Backup using rsync
I am using rsync to backup some files from an external drive to my NAS. I am trying to skip hidden files, but it does not seem to be working. I am wondering if the OSX implementation is different from the normal.
rsync -vaE --progress --delete --exclude=".*" /Volumes/Storage/Media/ /Volumes/Backup/Media > /Volumes/Storage/Logs/"$(date "+%m%d%Y%H%M%S") [rsync | Media].log"
When tailing the log file, I see 1000s of hidden files being transferred. Also, they aren't just transferred once, they are being transferred every time I run rsync.
Here is an example like the ones in the log file:
Videos/DSLR/._MVI_5739.MOV
189 100% 9.71kB/s 0:00:00 (xfer#5622, to-check=78/26142)
Does anyone have any advice?
One other thing, diff I believe is showing clear (it is still running, but log is empty so far):
diff -rq --exclude=".*" /Volumes/Storage/Media/ /Volumes/Backup/Media/ > /Volumes/Storage/Logs/"$(date "+%m%d%Y%H%M%S") [diff | Media].log" &
MacBook Pro with Retina display