Just a thought had you tried with...
1) Allcute, backtick, left quote, or an open quote, the back quote or backquote is a punctuation mark (`). It's on the same U.S. computer keyboard key as the tilde.
2) double quote(")
In placecof single quotes ?
Regards
Bimal Kumar
On Tue, 23 Jun 2020, 21:30 bruce <badouglas@gmail.com wrote:
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 jamie@fargenable.com wrote:
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
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 _______________________________________________ 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