This question already has an answer here:

I uploaded a local text file omitting the remote location and can't find the file (Ubuntu 16.04).

rsync -chavzP dump.sql user@ip-address

It's not in my home directory or anywhere else that I can tell:

find / -name dump.sql -print

I can re-upload with a remote location, but would like to at least find and remove that 6GB dump that I'm not using.

marked as duplicate by muru, Thomas, Fabby, David Foerster, Zanna command-line Aug 17 at 17:08

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • You miss : after user@ip-address. – Arkadiusz Drabczyk Aug 16 at 19:50
  • Yeah, I used rsync -chavzP dump.sql user@ip-address:/home/user to fix it. So what happened to my first file? According to my terminal it uploaded. – ow3n Aug 16 at 19:52
  • You should have user@ip-address file in the directory where you ran rsync. – Arkadiusz Drabczyk Aug 16 at 19:53
  • 1
    Ah! There it is, on my local. Without that : rsync assumed remote credentials was a filename. Thanks @ArkadiuszDrabczyk :-) – ow3n Aug 16 at 19:55
  • 1
    @ArkadiuszDrabczyk can you please formulate this as an answer and post it? :) – Videonauth Aug 16 at 19:56
up vote 11 down vote accepted

You miss : after user@ip-address. Without that you will create user@ip-address file in the directory where you ran rsync.

  • Thanks! I found the file (on my local machine) and removed it. – ow3n Aug 16 at 19:59

Not the answer you're looking for? Browse other questions tagged or ask your own question.