[問題] 資料夾路徑含空格

作者: ThisIsNotKFC (Time to Change)   2020-10-05 17:32:22
使用環境是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
作者: Jerr (身為老爸老媽嚕..)   2020-10-05 17:42:00
"/path/to/a b c/" 或 /path/to/a\ b\ c/ 吧, 反斜線還是要跟著空格
作者: Typebrook (Pham)   2020-10-05 17:44:00
反斜線是代表不轉譯後面的字元,所以保留空格話,用:/qbittorrent/download/Legend\ of\ the\ Galactic...
作者: ThisIsNotKFC (Time to Change)   2020-10-05 18:20:00
謝兩位大大應該是成功了,沒跳出錯誤訊息
作者: ucrxzero (RX-0)   2020-10-12 03:09:00
補充一下冒號跟斜線本身也要返斜線等等補推安錯安

Links booklink

Contact Us: admin [ a t ] ucptt.com