Bruce-

Try rsync -av /home/test/.config/composer/ /home/webdev/composer/

Regards,
-Jamie

On Tue, Jun 23, 2020 at 11:09 AM bruce <badouglas@gmail.com> wrote:
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
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org