码迷,mamicode.com
首页 > 系统相关 > 详细

Linux下scp静默方式

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

标签:linux下scp静默方式

在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静默方式

标签:linux下scp静默方式

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!