首页 > 系统服务 > 详细

Linux下scp静默方式

时间:2015-11-12 16:11:59      阅读:429      评论:0      收藏:0      [点我收藏+]

在scp传输很多小文件的时候,不希望看传输的文件列表,可以使用scp的静默方式。


[root@hpc02 soft]# scp -rpq s001 192.168.33.31:/soft

root@192.168.33.31‘s password: 


其中

-r 表示传输整个目录

-p 表示保利文件的修改时间等信息,Preserves modification times, access times, and modes from the original file.

-q 静默方式

 -q      Quiet mode: disables the progress meter as well as warning and diagnostic messages from ssh(1).



本文出自 “harryzhang” 博客,请务必保留此出处http://harryzhang.blog.51cto.com/10795906/1712109

Linux下scp静默方式

原文:http://harryzhang.blog.51cto.com/10795906/1712109

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!