I am trying to copy a file from a remote server to my local Windows machine using Cygwin. Here the command I am using:
userMe$ scp [email protected]:~/Desktop/O'Bryan/file.csv ~/
On enter, the system returns a pipe:
userMe$ scp [email protected]:~/Desktop/O'Bryan/file.csv ~/
>
What is happening?
The apostrophe in "O'Bryan" opened a string and the command is waiting for the closing quote. You can escape it (\') to avoid this from happening.