https://github.com/mrheer/regularcopy
copy files by recursion
https://github.com/mrheer/regularcopy
copy python regular-expression
Last synced: 4 months ago
JSON representation
copy files by recursion
- Host: GitHub
- URL: https://github.com/mrheer/regularcopy
- Owner: MrHeer
- Created: 2017-06-06T04:01:36.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-06T04:07:21.000Z (about 8 years ago)
- Last Synced: 2025-01-25T04:27:43.716Z (5 months ago)
- Topics: copy, python, regular-expression
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
该脚本用于复制文件
----------------应用:
将指定的某类文件按递归的方式在指定的目标目录下全部复制到指定的存储目录举例:
target_dir = "G:/Programming/VS/C++/C++ Primer Plus/" # 目标目录
filename_extension = ".cpp" # 文件扩展名
save_dir = target_dir + "src/" # 存储目录