From: | Michal 'vorner' Vaner <vorner@×××.cz> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] scp escape characters | ||
Date: | Wed, 16 Apr 2008 14:10:30 | ||
Message-Id: | 20080416141026.GA413@tarantula.kolej.mff.cuni.cz | ||
In Reply to: | [gentoo-user] scp escape characters by Mick |
1 | Hello |
2 | |
3 | On Wed, Apr 16, 2008 at 03:06:05PM +0100, Mick wrote: |
4 | > Hi All, |
5 | > |
6 | > I was trying to scp a file which had spaces in its name; e.g. |
7 | > |
8 | > This\ is\ the\ name\ of\ it.txt |
9 | |
10 | There is a problem ‒ it unescapes at both ends, so you need to |
11 | double-escape it, like |
12 | |
13 | 'Filename\ with\ spaces' |
14 | |
15 | or |
16 | |
17 | Filename\\\ with\\\ spaces. |
18 | |
19 | Or, something like that (if I see it right). |
20 | |
21 | -- |
22 | Support your right to arm bears!! |
23 | |
24 | Michal 'vorner' Vaner |