欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

rsync The --password-file option may only be used when accessing an rsync daemon

  發(fā)布時(shí)間:2025-02-26 12:40:47   作者:佚名   我要評(píng)論
客戶端上傳文件執(zhí)行命令出錯(cuò),提醒The --password-file option may only be used when accessing an rsync daemon.查找資料也很少這樣的說法,最后發(fā)現(xiàn)是冒號(hào)的問題

The --password-file option may only be used when accessing an rsync daemon.
rsync error: syntax or usage error (code 1) at main.c(1418) [sender=3.1.3]

客戶端上傳文件執(zhí)行命令出錯(cuò),查找資料不得其解,最后發(fā)現(xiàn)是冒號(hào)的問題。

正確的格式如下

rsync -avz --password-file=/path/to/passwordfile /local/path/ user@remotehost::module_name/path/on/module/

請(qǐng)注意看,remotehost后面是兩個(gè)冒號(hào),而不是一個(gè),粗心大意少打了一個(gè)冒號(hào),浪費(fèi)時(shí)間。

相關(guān)文章

最新評(píng)論