Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] scp escape characters
Date: Wed, 16 Apr 2008 14:30:32
Message-Id: 358eca8f0804160729p712a999v807121f01fccd75e@mail.gmail.com
In Reply to: Re: [gentoo-user] scp escape characters by dirk.heinrichs.ext@nsn.com
1 On 16/04/2008, dirk.heinrichs.ext@×××.com <dirk.heinrichs.ext@×××.com> wrote:
2 > Am Mittwoch, den 16.04.2008, 15:06 +0100 schrieb ext Mick:
3 >
4 >
5 > > I was trying to scp a file which had spaces in its name; e.g.
6 > >
7 > > This\ is\ the\ name\ of\ it.txt
8
9 > I tried it in my zsh, with TAB-completion (means: I typed "scp
10 > remote_host:~/Fil<tab>"), and it gives this:
11 >
12 > scp remote_host:~/File\\\ with\\\ blanks
13 >
14 > And, of course, it copies the file just fine :-)
15
16 Thanks guys, I'll try it next time. Just one thing: if the spaces
17 need to be escaped at both ends, shouldn't it have just 2 \\, why are
18 you showing it with 3 \\\ ?
19 --
20 Regards,
21 Mick
22 --
23 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] scp escape characters Mike Edenfield <kutulu@××××××.org>