rsync只传输隐藏文件

时间:2021-06-30 18:27:20   收藏:0   阅读:0

# cd /root/test/1

# rsync -avP `ls -a /root/test/1 | grep ‘^\...‘` /root/test/2

技术图片

评论(0)
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!