Generally speaking, when your destination directory is within the home directory of the destination user, you would not specify full path, as in:
rsync -avz /home/test/cat test@192.168.125.133:cat
Also, you probably don't want to copy the directory into a directory of the same name, so your command would probably more appropriately be one of these:
rsync -avz /home/test/cat/ test@192.168.125.133:cat
rsync -avz /home/test/cat test@192.168.125.133:
-----Original Message-----
From: bruce
Sent: Apr 17, 2020 11:28 AM
To: Community support for Fedora users
Subject: Re: rsync error... can i ask for help here??ok..as user "test" on the local machine. there's a test on the remote as welleach local/remote has the dir /home/test/cat, and /home/test/cat1all dirs are owned by user 'test' and have '777' to make sure no weird errs happen due to owner/permsthis works:rsync -avz /home/test/cat /home/test/cat1this doesn'trsync -avz /home/test/cat test@192.168.125.133:/home/test/catgenerates error::test@192.168.125.133's password:
sending incremental file list
rsync: change_dir "/home/ /home/test" failed: No such file or directory (2)
sent 18 bytes received 12 bytes 5.45 bytes/sec
total size is 0 speedup is 0.00
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6]unless rsync cant be used with ssh/password.. can't figure out why this is failingOn Fri, Apr 17, 2020 at 11:15 AM Kai Bojens <kb@xxxxxxxxxx> wrote:Am 2020-04-17 16:41, schrieb bruce:
> I've got an rsync error that I can't seem to resolve. Did the
> google/testing etc.. no dice so far. Even did the irc centos chat...
> what a clusterphk.
Please state the nature of your rsync emergency.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx