rsync只传输隐藏文件

# cd /root/test/1

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

原文地址:https://www.cnblogs.com/1016391912pm/p/14953702.html