I am trying to set up a rsync script using automator for one of users in the office, but I keep getting an error. I started from the simplest code line: rsync -a /Volumes/DiskA/ /Volumes/DiskBBut I keep getting this error:rsync: opendir /Volumes/DiskA/.Trashes failed: Permission denied (13)rsync error: some files could not be transferred (code 23) at /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-47/rsync/main.c(992) [sender=2.6.9]I have searched the whole internet and have tried many different ways/codes but still getting error. I also tried a clean installation and formatted the HDDs. I am planning to add other commands one I get this issue fixed. I greatly appreciate if you could help me to solve this issue.
Using rsync to Sync two external HDDs, keep getting permission error
permissions;osx;rsync