Ok... More testing..
Opened up the dir perms to 775 -- just to see if this was/is an issue. I can successfully do mkdir -p /home/webdev/composer/vendor/laravel with the /home/webdev dir being empty. This creates the dir path However, running the rsync cmd, still generates the error: 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] I can't seem to determine why the "mkdir" within the rsync isn't working but the mkdir when run alone does. hmm... thanks On Tue, Jun 23, 2020 at 11:17 AM Jamie Fargen <[email protected]> wrote: > > Bruce- > > Try rsync -av /home/test/.config/composer/ /home/webdev/composer/ > > Regards, > -Jamie > > On Tue, Jun 23, 2020 at 11:09 AM bruce <[email protected]> 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 -- [email protected] >> To unsubscribe send an email to [email protected] >> 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/[email protected] > > _______________________________________________ > users mailing list -- [email protected] > To unsubscribe send an email to [email protected] > 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/[email protected] _______________________________________________ users mailing list -- [email protected] To unsubscribe send an email to [email protected] 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/[email protected]
