Hey.
I've got a test scenario. I'm looking to copy from sourceDir to
targetDir where the entire targetDir (parents) doesn't exist. So I'm
trying to rsync and create the dir path at the same time.
I've tried to play with variations of the following and I'm missing something..
rsync -aq --rsync-path='mkdir -p /home/webdev/composer/vendor/laravel
&& rsync' /home/test/.config/composer/vendor/laravel/
/home/webdev/composer/vendor/laravel
rsync: mkdir "/home/webdev/composer/vendor/laravel" failed: No such
file or directory (2)
rsync error: error in file IO (code 11) at main.c(664) [Receiver=3.1.3]
The source dir exists. The "/home/webdev" dir exists.
thoughts/comments?
thanks