centos7 拷贝目录下所有文件包含隐藏文件

不能这样使用

cp -a /storage/* /home/

使用 *不会拷贝隐藏文件

正确的做法

cp -a /storage/. /home/

学习了

分享经验,一起学习。:grinning_face: