

免费资源网 – https://freexyz.cn/
centos系统在移动old文件内文件到new文件夹内,提示Argument list too long(参数过长)
原因是old文件夹内的文件数量过多,导致mv命令参数过长无法执行
解决方法:使用find命令查找逐个移动,命令如下:
find /old -name *.* -exec mv {} /new ;免费资源网 – https://freexyz.cn/
© 版权声明
THE END
暂无评论内容