I wish to copy all the files & folder under /web/Transfer_Files/data/ on mymac1 (Linux) to remote server mybank.intra.com (Solaris 10) /tmp/ location
I am using Ansible tool synchronize module which triggers the unix rsync command as below:
rsync --delay-updates -F --compress --archive --rsh=ssh -S none /web/Transfer_Files/data/ wlsuser@mybank.intra.com:/tmp
Output Error:
Note: This directory does exist on my system & also has good permissions: /web/Transfer_Files/data/
I do not know why /web/Transfer_Files/data/ gets replaced with /web/Transfer_Files/none in the output.
I tried both bash and ksh shells.
uname -a
Linux mymac1 3.10.0-693.11.6.el7.x86_64 #1 SMP Thu Dec 28 14:23:39 EST 2017 x86_64 x86_64 x86_64 GNU/Linux
Can you please let me know how can I fix the error ?