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

相关文章
|
6月前
|
JavaScript
Angular 应用里 server.ts 文件的 APP_BASE_HREF token 的用法?
Angular 应用里 server.ts 文件的 APP_BASE_HREF token 的用法?
52 0
|
27天前
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.
20 2
ionic4 pipe.ts is part of the declarations of 2 modules:
ionic4 pipe.ts is part of the declarations of 2 modules:
119 0
ionic4 pipe.ts is part of the declarations of 2 modules:
解决Cannot find module '@angular/compiler-cli'
解决Cannot find module '@angular/compiler-cli'
109 0
解决Cannot find module '@angular/compiler-cli'
|
Web App开发 Ubuntu jenkins
Running Firefox as root in a regular user's session is not supported 问题解决
Running Firefox as root in a regular user's session is not supported 问题解决
730 0
Running Firefox as root in a regular user's session is not supported 问题解决
Angular self study 4 - data entered by end user
Angular self study 4 - data entered by end user
Angular self study 4 - data entered by end user
|
存储 JavaScript 前端开发
Angular Package Format (APF) v12.0 介绍
Angular Package Format (APF) v12.0 介绍
176 0
Angular Package Format (APF) v12.0 介绍
|
程序员
regular version,自己不觉得别扭?
regular version,自己不觉得别扭?
103 0
|
存储 测试技术 C++
use regular expression instead of ABAP function module to parse attachment
在做my task offline performanc improvement时,先参考BP代码,里面有一行call 下图的FM去将变量ls_key里存储的attachment information解析出来:
111 0
use regular expression instead of ABAP function module to parse attachment