Home > Net >  Where does rsync send files?
Where does rsync send files?

Time:03-30

I wanted to send a file to server by using:

rsync -avz myfile [email protected]:~/tmp

However, I forget to give the destination folder, just typied:

rsync -avz myfile [email protected]

I cant find it under '/' or my userfolder.

Where did this file go?

Ps. There are too many files on the server, so searching myfile by name takes forever...

CodePudding user response:

You now have a (lokal) copy of myfile named [email protected]. Since the destination did not specify a valid remote location (user@hostname:file) or existing local directory, it was interpreted as a filename.

  • Related