scp 報錯 not a regular file
scp 報錯 not a regular file
兩臺 linux 伺服器之間拷貝檔案;
從 A 伺服器(192.168.1.113) 拷貝到 B 伺服器:
命令: scp test2 dafei@192.168.1.113:/data/www/test/
報錯: test2: not a regular file
原因:這樣相當於下載資料夾,而非檔案
解決辦法:新增引數 -r
正確命令: scp -r test2 dafei@192.168.1.113:/data/www/test/
相關文章
- mac scrcpy 報錯 does not exist or is not a regular file,ERROR: Server connection failed(scrcpy mac與極空間衝突)MacErrorServerAI
- linux-scp 遠端拷貝報錯原因Linux
- cannot use '/dev/da1': must be a block device or regular filedevBloC
- querydsl報錯: Attempt to recreate a file for type
- 頁面報錯 No input file specified
- React Native 報錯 'config.h' file not foundReact Native
- ssh-add 報錯:Error connecting to agent No such file or directoryError
- go tool compile 報錯 could not import sync (file not found)GoCompileImport
- 呼叫torchtext報錯OSError: libtorch_cpu.so: cannot open shared object file: No such file or directoryErrorObject
- MySQL啟動報錯:The server quit without updating PID fileMySqlServerUI
- tar (child): bzip2: Cannot exec: No such file or directory 報錯
- oracle 匯入報錯:field in data file exceeds maximum lengthOracle
- imagick使用readImage報錯 Failed to read the file 或者沒有報錯內容的解決方法AI
- 編譯Redis時報錯: jemalloc/jemalloc.h: No such file or directory編譯Redis
- 【ASM】Oracle RAC css啟動報錯"Duplicate voting file found"ASMOracleCSS
- inplace-abn 報錯解決: ImportError: libcudart.so.9.0: cannot open shared object file: No such file or dirImportErrorDartObject
- git拉取程式碼報錯filename too long unable to create fileGit
- Oracle啟動報錯:ORA-03113: end-of-file on communication channelOracle
- MySQL 報錯 ERROR 1290 (HY000): running with the --secure-file-privMySqlError
- sqlserver bulk insert報錯Cannot bulk load because the file could not be opened.SQLServer
- 修改sys密碼報錯:ORA-01994: Password file missing or disabled密碼
- docker中建立Nginx和php-pfm 報file not find .錯誤。DockerNginxPHP
- Nginx安裝啟動過程報錯libpcre.so.1 cannot open shared object file: No such file or directoryNginxObject
- scp
- streamlit run執行報錯,Invalid value: File does not exist: XXX.py
- 【MySQL】ERROR 1290 (HY000): --secure-file-priv--匯出報錯MySqlError
- 解決Chrome外掛安裝時報錯:“Manifest file is missing or unreadable“Chrome
- AtCoder Regular Contest 186
- AtCoder Regular Contest 185
- AtCoder Regular Contest 174
- AtCoder Regular Contest 171
- AtCoder Regular Contest 177
- SCP 2024
- scp命令
- 網站轉移後無法開啟報錯提示“No input file specifed”網站
- 在 fish 終端下報錯 source: Error while reading file “xxx” 等問題ErrorWhile
- MySQL啟動報錯InnoDB: The innodb_system data file './ibdata1' is of a differentMySql
- Leetcode 10 Regular Expression MatchingLeetCodeExpress