https://github.com/zmievsa/twalk
twalk packs an entire directory tree (including files) into a single .txt file, which it then can use to regenerate that directory tree.
https://github.com/zmievsa/twalk
Last synced: about 1 year ago
JSON representation
twalk packs an entire directory tree (including files) into a single .txt file, which it then can use to regenerate that directory tree.
- Host: GitHub
- URL: https://github.com/zmievsa/twalk
- Owner: zmievsa
- License: mit
- Created: 2021-10-22T20:04:46.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-17T01:01:31.000Z (about 4 years ago)
- Last Synced: 2025-03-05T20:17:50.998Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Features
twalk packs an entire directory tree (including files) into a single .txt file, which it then can use to regenerate that directory tree.
# Installation
`pip install twalk`
# Usage
```
usage: twalk [-h] [-i] [-v] [-V | -s] {pack,unpack} path
Condense a directory tree into a single txt file or extract it from one
positional arguments:
{pack,unpack} What to do with the specified path
path path to directory you wish to (un)pack
optional arguments:
-h, --help show this help message and exit
-i, --ignore_binary Instead of raising an exception when encountering
binary files during packing, skip them altogether
-v, --version show program's version number and exit
-V, --verbose
-s, --silent
```