Re: [gentoo-user] scp escape characters

2008-04-16 Thread Mike Edenfield
Mick wrote: On 16/04/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Am Mittwoch, den 16.04.2008, 15:06 +0100 schrieb ext Mick: > I was trying to scp a file which had spaces in its name; e.g. > > This\ is\ the\ name\ of\ it.txt I tried it in my zsh, with TAB-completion (means: I typed

Re: [gentoo-user] scp escape characters

2008-04-16 Thread Mick
On 16/04/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Am Mittwoch, den 16.04.2008, 15:06 +0100 schrieb ext Mick: > > > > I was trying to scp a file which had spaces in its name; e.g. > > > > This\ is\ the\ name\ of\ it.txt > I tried it in my zsh, with TAB-completion (means: I typed "scp

Re: [gentoo-user] scp escape characters

2008-04-16 Thread Etaoin Shrdlu
On Wednesday 16 April 2008, 16:31, Etaoin Shrdlu wrote: > $ scp [EMAIL PROTECTED]:'/src/dir/This is the name of it.txt' /dst/dir Wrong (sorry). You need to both quote and escape spaces. -- gentoo-user@lists.gentoo.org mailing list

Re: [gentoo-user] scp escape characters

2008-04-16 Thread dirk.heinrichs.ext
Am Mittwoch, den 16.04.2008, 15:06 +0100 schrieb ext Mick: > I was trying to scp a file which had spaces in its name; e.g. > > This\ is\ the\ name\ of\ it.txt > > But scp would fail each time saying that the name is ambiguous (or > something similar). I also tried enclosing the name in 'single'

Re: [gentoo-user] scp escape characters

2008-04-16 Thread Etaoin Shrdlu
On Wednesday 16 April 2008, 16:06, Mick wrote: > Hi All, > > I was trying to scp a file which had spaces in its name; e.g. > > This\ is\ the\ name\ of\ it.txt > > But scp would fail each time saying that the name is ambiguous (or > something similar). I also tried enclosing the name in 'single', o

Re: [gentoo-user] scp escape characters

2008-04-16 Thread Michal 'vorner' Vaner
Hello On Wed, Apr 16, 2008 at 03:06:05PM +0100, Mick wrote: > Hi All, > > I was trying to scp a file which had spaces in its name; e.g. > > This\ is\ the\ name\ of\ it.txt There is a problem ‒ it unescapes at both ends, so you need to double-escape it, like 'Filename\ with\ spaces' or Filena