
我試圖在我備份的當前目錄中包含一個資料夾。
./example
但我得到一個錯誤!
cannot match any files in the base directory
我 100% 確定該文件存在
答案1
我今天遇到了同樣的問題,我嘗試了所有我能想到的讓口是心非識別相對路徑的方法,最後,我只是使用了絕對路徑(/home/myuser/dir
而不是~/dir
or ./dir
)並且它有效。這並不像漂亮的但它完成了工作。
我試圖在我備份的當前目錄中包含一個資料夾。
./example
但我得到一個錯誤!
cannot match any files in the base directory
我 100% 確定該文件存在
我今天遇到了同樣的問題,我嘗試了所有我能想到的讓口是心非識別相對路徑的方法,最後,我只是使用了絕對路徑(/home/myuser/dir
而不是~/dir
or ./dir
)並且它有效。這並不像漂亮的但它完成了工作。