https://github.com/timohanisch/path2zip
https://github.com/timohanisch/path2zip
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/timohanisch/path2zip
- Owner: TimoHanisch
- Created: 2015-03-29T23:32:40.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-16T19:24:34.000Z (almost 11 years ago)
- Last Synced: 2023-05-02T00:20:23.538Z (about 3 years ago)
- Language: Python
- Size: 121 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## path2zip ##
This script is used to write all files found within a folder to a zip file, while keeping the same directory structure.
An example of how to call the script
```
>>patch2zip.py "/path/to/folder/" "output_name" "^.*\.(zip|rar|tar|tar\.gz|7z)$"
```
This call will zip all files with the extension zip,rar,tar,tar.gz and 7z into a zip file.