I am trying to backup from my MAC laptop to backup disk to use in windows laptop using below command,
rsync -vaPh --chmod=ugo+r,ug+w,ugo+X /Users/lakshmi/ /Volumes/BACKUP
The rsync is supposed to copy all files for the first time and second time onwards it has to only copy modified files, but it is doing complete backup second time too. This is because the rsync treats each file as new one due to different permission on BACKUP disc.
Could anybody suggest how to overcome this problem.
Thanks.
rsync -vaPh --chmod=ugo+r,ug+w,ugo+X /Users/lakshmi/ /Volumes/BACKUP
The rsync is supposed to copy all files for the first time and second time onwards it has to only copy modified files, but it is doing complete backup second time too. This is because the rsync treats each file as new one due to different permission on BACKUP disc.
Could anybody suggest how to overcome this problem.
Thanks.