資料夾路徑含空格 - Linux

Table of Contents



使用環境是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


--

All Comments

Jack avatarJack2020-10-07
"/path/to/a b c/" 或 /path/to/a\ b\ c/ 吧, 反斜線還是要
跟著空格
Zenobia avatarZenobia2020-10-11
反斜線是代表不轉譯後面的字元,所以保留空格話,用:
/qbittorrent/download/Legend\ of\ the\ Galactic...
Jake avatarJake2020-10-13
謝兩位大大應該是成功了,沒跳出錯誤訊息
Zora avatarZora2020-10-18
補充一下冒號跟斜線本身也要返斜線
等等補推安錯
Ingrid avatarIngrid2020-10-21