0

I would like to copy some files from my remote to google drive using rsync. On the terminal I do

nohup rsync  /mylocal/mydir/subdir/.  mydrive:folder/data/mydir/subdir & 

but it exits giving Exit 255. Where do I do wrong? Thanks

  • possibly an underlying ssh error; can you add some -vvv's to the rsync and see if anything drops out? – Jeff Schaller Mar 2 at 0:52
  • JeffSchaller is probably right, but the nohup.out file already created should be consulted just in case it's already explaining what went wrong. Also, you'll need to look at nohup.out to see the output from the -vvv, unless you redirect stdout and stderr to a file explicitly (in which case it's that file you need to check.) – Ed Grimm Mar 2 at 0:54
  • thank you both for the comments. Actually, i have tried adding -vvv as well. nohup.out files makes a long list of "Failed to copy: failed to open source object: open file x'" However i am able to copy these files using rclone copy. But I want to use rsync because i have large datasets. – kutlus Mar 2 at 2:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.