On my remote server I have a file named .bash_profile, that file has nothing inside.
I wish to copy a local copy (with something inside) to the remote destination. (overwrite)
So I do:
scp ~/path/bla/ble/.bash_profile email@example.com:/home/bleble/.bash_profile
scp: /home/bleble/.bash_profile: Not a directory
I know it's not a directory.
What am I doing wrong?