除了scp,还有其他工具,如rsync,可以用来传输文件和目录,可能更适合你的需求。 代码语言:javascript 代码运行次数:0 运行 AI代码解释 rsync-av user@remote:/path/to/directory local_path 总结📝 “not a regular file”是一个相对常见的scp错误,但解决起来并不难。只要确保你明白scp的工作方式,使用正确的选项和...
2. ”not a regular file“错误的根源 🌋 当我们试图使用scp复制一个目录(而不是文件)或一个特殊的文件系统对象(如设备文件)时,就可能会遇到这个错误。这是因为scp默认情况下只复制常规文件,而不是目录或其他特殊文件。 例如: scp user@remote:/path/to/directory local_path 执行上述命令时可能会报“not a...
今天在linux命令行使用scp命令拷贝一个目录到另一台服务器的时候,报如下错误: [root@hadoop01 ~]#scp flume -r hadoop02:/root/appsflume: not a regular file-r: No such file or directory [root@hadoop01 ~]#scp flume hadoop02:/root/apps/flume: not a regular file 原来在使用scp拷贝一个目录(注...
2017-01-03 00:05 −今天在linux命令行使用scp命令拷贝一个目录到另一台服务器的时候,报如下错误: [root@hadoop01 ~]# scp flume -r hadoop02:/root/apps flume: not a regular file -r: No such file or directory ... xuebusi 0 9569
If the connection to upload to the vCenter by the SCP client is rejected, run this from an SSH session to the vCenter: # chsh -s /bin/bashroot Navigate to the /tmp directory: # cd /tmp make the file executable: # chmod +x fixsts.sh ...
在编译linux内核的时候执行make ARCH=arm socfpga_defconfig设置默认配置时报错bison flex not found 缺少文件: /bin/sh: 1: bison: not found 输入命令 sudo apt-get install bison 进行安装: /bin/sh: 1: flex: not found 输入命令 sudo apt-get install flex 进行安装:...
unzip 失败,unzip :报错 End-of-central-directory signature not found 、scp :报错 no space left on device 文章目录 问题 解决 • 拓展 问题 rz 命令传本地文件到本地服务器,失败。 通过 scp 命令尝试报错: no space left on device 意思是目的机器内存不够用了,但是传过去了,但是没有传完整。 通过 ...
By default SCP treats the file as regular files, so option -r must be added when copying a directory. The error “scp not a regular” occurs when the user is trying to copy a directory and does not specify this action by using the -r option. ...
The program works by runningfindon the directories to obtain CSV files. Thefindon the remote directory runs in ansshsession andafterit finishes, the CSV file is downloaded to the local system byscp. Thefindon the local directory runs locally. The comparing of the two CSV files occurs locally...
and scp the file into node_modules/node-sass/vendor/linux-x64-46/ I had to create the linux-x64-46 directory 👍 2 🎉 2 ️ 1 Copy link conraid commented Sep 26, 2015 Same issue here, Slackware 64 current I solved with: install -Dm644 linux-x64-46_binding.node /usr...