I am reasonably new to Mac development, so I know just enough to be dangerous.
I want to build a script that will run on command using rsync script to backup my photography folders to my NAS. I can drag the folder names to the terminal and all works fine.
When I copy and paste into terminal to test it fails
Here is the command line and subsequent error.
ichflynn@Richs-MacBook-Pro ~ % rsync -arv --delete /Volumes/Samsung_T5/LRPhotos-T5/ /Volumes/QNAP-USB-2/LRPhotos-T5/
sending incremental file list
rsync: [Receiver] mkdir "/Volumes/QNAP-USB-2/LRPhotos-T5" failed: No such file or directory (2)
rsync error: error in file IO (code 11) at main.c(793) [Receiver=3.2.7]
rsync: [sender] write error: Broken pipe (32)
rsync error: error in file IO (code 11) at io.c(848) [sender=3.2.7]
richflynn@Richs-MacBook-Pro ~ %
Suggestions?