标签: linux copy
如何在维护结构的同时复制文件夹(仅包含其python文件)?如何在命令行中做到这一点?
答案 0 :(得分:1)
find . -name '*.py' -exec cp --parents \{\} /target \;
来源:https://unix.stackexchange.com/questions/83593/copy-specific-file-type-keeping-the-folder-structure