拷贝目录下文件,但某种类型文件例外

使用rsync即可。

rsync -rv --exclude=.git copy_from copy_to

 

posted @ 2014-05-11 22:20  木叶火影  阅读(236)  评论(0编辑  收藏  举报