I have a standard turnkey core appliance running and I'm trying to run rsync on a folder under /home. Everytime I run it I get the following errors:
rsync: mkdir "/home/hello/folder" No such file or directory (2)
rsync error: error in file IO (code 11) at main.c(595) [Receiver=3.0.7]
receiving incremental file list
The script is:
rsync --verbose --progress --stats --compress --rsh=ssh --recursive --times --perms --links --delete --exclude 'cache' email@example.com:/home/test/public_html /home/hello/folder
I'm guessing it has something to do with the folder permissions? The /home/hello/folder does not exist, and I just want rsync to create that.