News for hackers. Stuff that matters.
Re:I'm “still afraid to use spaces in file names” years old by kerblang on Thursday November 11, 2021 @09:33AM (#29188199)
That sounds like... Puzzle time! I had to cheat, sort of, by looking at the man page:

> Local file names can be made explicit using absolute or relative pathnames to avoid scp treating file names containing ':' as host specifiers.

So `scp foo:bar user@host:~` fails because it tries to find the host foo. But `scp ./foo:bar user@host:~` works just fine. I feel kind of stupid for not guessing as much.

There are no comments on this comment yet.