Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrheer/regularcopy
copy files by recursion
https://github.com/mrheer/regularcopy
copy python regular-expression
Last synced: 27 days ago
JSON representation
copy files by recursion
- Host: GitHub
- URL: https://github.com/mrheer/regularcopy
- Owner: MrHeer
- Created: 2017-06-06T04:01:36.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-06T04:07:21.000Z (over 7 years ago)
- Last Synced: 2024-11-25T05:39:55.483Z (3 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/" # 存储目录