作者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/m.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