https://github.com/knio/treecat
Displays a tree view of files and their contents
https://github.com/knio/treecat
Last synced: 3 months ago
JSON representation
Displays a tree view of files and their contents
- Host: GitHub
- URL: https://github.com/knio/treecat
- Owner: Knio
- Created: 2017-03-22T05:36:15.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-10-17T22:56:30.000Z (9 months ago)
- Last Synced: 2024-10-20T09:58:07.749Z (9 months ago)
- Language: Python
- Size: 141 KB
- Stars: 9
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# treecat
Displays a tree view of files and their contents
## Installation
Recommended (latest release):
```sh
python3 -m pip install git+https://github.com/Knio/treecat.git
```## Usage

```sh
tom@dev:~/knio/treecat$ tcat test
test [๐ 12 children, 12 subdirs, 9 files, total size: 503 B]
โโโ 256.binโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ [๐ /octet-stream, 256 B]
โ 00โ 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 12 13 โ โ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ
โ 14โ 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21 22 23 24 25 26 27 โ ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ !"#$%&'
โ 28โ 28 29 2a 2b 2c 2d 2e 2f 30 31 32 33 34 35 36 37 38 39 3a 3b โ ()*+,-./0123456789:;
โ 3cโ 3c 3d 3e 3f 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f โ <=>?@ABCDEFGHIJKLMNO
โ 50โ 50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f 60 61 62 63 โ PQRSTUVWXYZ[\]^_`abc
โ 64โ 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f 70 71 72 73 74 75 76 77 โ defghijklmnopqrstuvw
โ 78โ 78 79 7a 7b 7c 7d 7e 7f 80 81 82 83 84 85 86 87 88 89 8a 8b โ xyz{|}~๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ
โ 8cโ 8c 8d 8e 8f 90 91 92 93 94 95 96 97 98 99 9a 9b 9c 9d 9e 9f โ ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ๏ฟฝ
โ a0โ a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 aa ab ac ad ae af b0 b1 b2 b3 โ ๏ฟฝยกยขยฃยคยฅยฆยงยจยฉยชยซยฌ๏ฟฝยฎยฏยฐยฑยฒยณ
โ b4โ b4 b5 b6 b7 b8 b9 ba bb bc bd be bf c0 c1 c2 c3 c4 c5 c6 c7 โ ยดยตยถยทยธยนยบยปยผยฝยพยฟรรรรรร รร
โ c8โ c8 c9 ca cb cc cd ce cf d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 da db โ รรรรรรรรรรรรรรรรรรรร
โ dcโ dc dd de df e0 e1 e2 e3 e4 e5 e6 e7 e8 e9 ea eb ec ed ee ef โ รรรรร รกรขรฃรครฅรฆรงรจรฉรชรซรฌรญรฎรฏ
โ f0โ f0 f1 f2 f3 f4 f5 f6 f7 f8 f9 fa fb fc fd fe ff โ รฐรฑรฒรณรดรตรถรทรธรนรบรปรผรฝรพรฟ
โโโ binary.pycโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ [๐ /x-python-code, 167 B]
โ 00โ 61 0d 0d 0a 00 00 00 00 1e 2a f8 62 20 00 00 00 e3 00 00 00 โ a๏ฟฝ๏ฟฝ๏ฟฝโโโโ๏ฟฝ*รธb โโโรฃโโโ
โ 14โ 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 40 00 00 โ โโโโโโโโโโโโโ๏ฟฝโโโ@โโ
โ 28โ 00 73 0c 00 00 00 64 00 04 00 5a 00 5a 01 64 01 53 00 29 02 โ โs๏ฟฝโโโdโ๏ฟฝโZโZ๏ฟฝd๏ฟฝSโ)๏ฟฝ
โ 3cโ 7a 05 30 2e 32 2e 30 4e 29 02 da 0b 5f 5f 76 65 72 73 69 6f โ z๏ฟฝ0.2.0N)๏ฟฝร๏ฟฝ__versio
โ 50โ 6e 5f 5f da 07 76 65 72 73 69 6f 6e a9 00 72 03 00 00 00 72 โ n__ร๏ฟฝversionยฉโr๏ฟฝโโโr
โ 64โ 03 00 00 00 fa 2a 4b 3a 5c 50 72 6f 67 72 61 6d 6d 69 6e 67 โ ๏ฟฝโโโรบ*K:\Programming
โ 78โ 5c 74 72 65 65 63 61 74 5c 74 72 65 65 63 61 74 5c 5f 76 65 โ \treecat\treecat\_ve
โ 8cโ 72 73 69 6f 6e 2e 70 79 da 08 3c 6d 6f 64 75 6c 65 3e 01 00 โ rsion.pyร๏ฟฝ๏ฟฝโ
โ a0โ 00 00 f3 00 00 00 00 โ โโรณโโโโ
โโโ broken โจ foo
โโโ bye.txtโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ [๐ /plain, 22 B]
โ 1โ So long,
โ 2โ cruel world.
โโโ empty [๐ empty]
โโโ hello โจ hi.txt
โโโ hi.txtโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ [๐ /plain, 15 B]
โ 1โ Hello, World!
โโโ long/single/empty/dir/chain [๐ empty]
โโโ one_child/one/one_more [๐ 1 children, 0 subdirs, 1 files, total size: 11 B]
โ โโโ one.txtโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ [๐ /plain, 11 B]
โ 1โ and a file
โโโ small.binโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ [๐ /octet-stream, 17 B]
โ 00โ 00 00 ff ff 41 42 43 44 00 31 32 33 34 09 37 82 fe โ โโรฟรฟABCDโ1234๏ฟฝ7๏ฟฝรพ
โโโ three.mp4โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ [๐๏ธ /mp4, empty]
โ ๐กบ โฌ
โโโ two_child [๐ 2 children, 2 subdirs, 0 files, total size: 0 B]
โโโ one [๐ empty]
โโโ two [๐ empty]
tom@dev:~/knio/treecat$```