我想在使用scp命令目标时escaspe空间如何指定转义序列? [英] I want to escaspe spaces while using scp command destination how can I specify the escape sequences ?

查看:133
本文介绍了我想在使用scp命令目标时escaspe空间如何指定转义序列?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在使用scp命令目的地时使用sccaspe空格如何指定转义序列?



我尝试了什么:



我想在使用scp命令目的地时使用escaspe空格如何指定转义序列?

解决方案

使用单引号和反斜杠

例如

 scp'foo bar''user @ remote:foo \ bar'


I want to escaspe spaces while using scp command destination how can I specify the escape sequences ?

What I have tried:

I want to escaspe spaces while using scp command destination how can I specify the escape sequences ?

解决方案

Use both single quotes and the backslash
e.g.

scp 'foo bar'  'user@remote:foo\ bar'


这篇关于我想在使用scp命令目标时escaspe空间如何指定转义序列?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆