scp报错:not a regular file

简介:


scp报错:not a regular file

用scp拷贝文件夹的时候会出现这个错误

解决办法:

加个-r的参数就行了

如:

# scp -r /mnt  root@127.0.0.1:/home

本文转自linux博客51CTO博客,原文链接http://blog.51cto.com/yangzhiming/1034702如需转载请自行联系原作者


yangzhimingg

相关文章
No module named ‘win32file‘
No module named ‘win32file‘
45631 0
|
2月前
|
JavaScript
angular之Input和Output
angular之Input和Output
|
6月前
Angular启动/node_modules/@types/node/index.d.ts (20,1): Invalid ‘reference‘ directive syntax.
Angular启动/node_modules/@types/node/index.d.ts (20,1): Invalid ‘reference‘ directive syntax.
76 2
|
11月前
(node)Warning: Accessing non-existent property ‘xxx‘ of module exports inside circular depen
(node)Warning: Accessing non-existent property ‘xxx‘ of module exports inside circular depen
|
Cloud Native 安全 Linux
scp报错not a regular file - 猫头虎博主为您深入解析
scp报错not a regular file - 猫头虎博主为您深入解析
204 0
|
Linux
Linux scp命令复制文件报错: not a regular file
Linux scp命令复制文件报错: not a regular file
427 0
ionic4 pipe.ts is part of the declarations of 2 modules:
ionic4 pipe.ts is part of the declarations of 2 modules:
159 0
ionic4 pipe.ts is part of the declarations of 2 modules:
解决Cannot find module '@angular/compiler-cli'
解决Cannot find module '@angular/compiler-cli'
172 0
解决Cannot find module '@angular/compiler-cli'
|
程序员
regular version,自己不觉得别扭?
regular version,自己不觉得别扭?
129 0