'Where does rsync send files?

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...



Solution 1:[1]

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.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1