bash语句 -- 只复制目录结构,不复制文件

     find src -type d | sed 's/src/mkdir -p dst/' | sh

替换src和dst即可


猜你喜欢

转载自blog.csdn.net/s000da/article/details/81006498