How to use 'cp' command to exclude a specific directory?

来源:互联网 发布:c语言中double 编辑:程序博客网 时间:2024/06/06 03:43

rsync is fast and easy:

rsync -av --progress sourcefolder /destinationfolder --exclude thefoldertoexclude
0 0