Issue with rsync command (error: 23)
by anirguha from LinuxQuestions.org on (#533P5)
I am trying to compare between two folders mapped to my Windows 10 machine and write the difference to a third external drive connected to the laptop. Below are the details:
- I am having a large number of movie files stored on an external NAS drive and mapped to my machine (under the volume Z)
- A subset of the files are present on an external HDD also mapped to the machine (under the volume F)
- I want to copy that are present in NAS but not on the HDD to a third external HDD (under the volume D)
I am using the below command:
anirguha@Anirban-Lenovo:/mnt/c/Users/USER$ rsync rvcm --dry-run --compare-dest=F:\Syn_DS918\Movies\ Z:\ D:\
Where F:\Syn_DS918\Movies\ is the full path of the folder present in the external HDD mentioned in (2); the NAS HDD is mapped to volume Z: and the files I want to copy are present under the root of the drive only; D is an empty external HDD where I want to copy the difference from the NAS.
While executing the command I am getting the following error:
>
rsync: link_stat "/mnt/c/Users/USER/rvcm" failed: No such file or directory (2)
--compare-dest arg does not exist: F:Syn_DS918Movies Z: D:
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1207) [sender=3.1.3]
What am I doing wrong here? Can someone help?


- I am having a large number of movie files stored on an external NAS drive and mapped to my machine (under the volume Z)
- A subset of the files are present on an external HDD also mapped to the machine (under the volume F)
- I want to copy that are present in NAS but not on the HDD to a third external HDD (under the volume D)
I am using the below command:
anirguha@Anirban-Lenovo:/mnt/c/Users/USER$ rsync rvcm --dry-run --compare-dest=F:\Syn_DS918\Movies\ Z:\ D:\
Where F:\Syn_DS918\Movies\ is the full path of the folder present in the external HDD mentioned in (2); the NAS HDD is mapped to volume Z: and the files I want to copy are present under the root of the drive only; D is an empty external HDD where I want to copy the difference from the NAS.
While executing the command I am getting the following error:
>
rsync: link_stat "/mnt/c/Users/USER/rvcm" failed: No such file or directory (2)
--compare-dest arg does not exist: F:Syn_DS918Movies Z: D:
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1207) [sender=3.1.3]
What am I doing wrong here? Can someone help?