作者ThisIsNotKFC (Time to Change)
看板Linux
标题[问题] 资料夹路径含空格
时间Mon Oct 5 17:32:22 2020
使用环境是ubuntu 18.04,想要用rclone copy到gd
第一次有成功,但第二次路径有空格一直失败,读不到来源资料夹
试过加"",\,``都不行,不知道哪里写错
rclone copy /qbittorrent/download/"Legend of the Galactic Heroes"/ gd:/TEST
rclone copy /qbittorrent/download\Legend of the Galactic Heroes/ gd:/TEST
rclone copy /qbittorrent/download/`Legend of the Galactic Heroes` gd:/TEST
rclone copy /qbittorrent/download/Legend\of\the\Galactic\Heroes gd:/TEST
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 106.107.246.146 (台湾)
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Linux/M.1601890344.A.B5A.html
1F:→ Jerr: "/path/to/a b c/" 或 /path/to/a\ b\ c/ 吧, 反斜线还是要 10/05 17:42
2F:→ Jerr: 跟着空格 10/05 17:42
3F:→ Typebrook: 反斜线是代表不转译後面的字元,所以保留空格话,用: 10/05 17:44
4F:→ Typebrook: /qbittorrent/download/Legend\ of\ the\ Galactic... 10/05 17:44
5F:→ ThisIsNotKFC: 谢两位大大应该是成功了,没跳出错误讯息 10/05 18:20
6F:嘘 ucrxzero: 补充一下冒号跟斜线本身也要返斜线 10/12 03:09
7F:→ ucrxzero: 等等补推安错 10/12 03:09
8F:推 ucrxzero: 安 10/12 12:42