Pushings files to Ec2 Instance using rsync

  Kiến thức lập trình

i have a directory on my local machine and want to push it to a ec2 instance.

Herre is the directory

I’m using rsync and have used the following commands

rsync /Users/abr032296/Desktop/Projects/ShinyAppHarold/Trended/PushToEc2/ [email protected]:/srv/shiny-server/DataScience/Senior/AbrCallAppTrending

rsync -azu /Users/abr032296/Desktop/Projects/ShinyAppHarold/Trended/PushToEc2/ [email protected]:/srv/shiny-server/DataScience/Senior/AbrCallAppTrending

Both return the following error

abr032296@LAP109053:/mnt/c/Users/abr032296$ rsync /Users/abr032296/Desktop/Projects/ShinyAppHarold/Trended/PushToEc2/ [email protected]:/srv/shiny-server/DataScience/Senior/AbrCallAppTrending
rsync: change_dir "/Users/abr032296/Desktop/Projects/ShinyAppHarold/Trended/PushToEc2" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1207) [sender=3.1.3]

abr032296@LAP109053:/mnt/c/Users/abr032296$ rsync -azu /Users/abr032296/Desktop/Projects/ShinyAppHarold/Trended/PushToEc2/ [email protected]:/srv/shiny-server/DataScience/Senior/AbrCallAppTrending
rsync: change_dir "/Users/abr032296/Desktop/Projects/ShinyAppHarold/Trended/PushToEc2" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1207) [sender=3.1.3]

Any idea what I am doing wrong?

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT