Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/1970mr/tree-viewer
Tree Viewer: A Python CLI tool to explore directory, zip, and rar contents with a tree-like display. Easy and intuitive! 🌳👀
https://github.com/1970mr/tree-viewer
directory directory-tree python rar tree-view tree-viewer treeview zip
Last synced: 25 days ago
JSON representation
Tree Viewer: A Python CLI tool to explore directory, zip, and rar contents with a tree-like display. Easy and intuitive! 🌳👀
- Host: GitHub
- URL: https://github.com/1970mr/tree-viewer
- Owner: 1970Mr
- License: mit
- Created: 2023-07-25T12:23:33.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-30T13:08:48.000Z (5 months ago)
- Last Synced: 2024-06-16T08:34:38.397Z (5 months ago)
- Topics: directory, directory-tree, python, rar, tree-view, tree-viewer, treeview, zip
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tree Viewer
[![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
Tree Viewer is a Python command-line tool that allows you to view the contents of directories, zip files, and rar files in a tree-like structure. It provides an intuitive way to navigate and explore the directory structure of your files.
## How to Install
1. Clone the repository to your local machine:
```
git clone https://github.com/github-1970/tree-viewer.git
```2. Change directory to the project folder:
```
cd tree-viewer
```3. Install the required dependencies:
```
pip install -r requirements.txt
```## How to Use
To use Tree Viewer, run the `tree_viewer.py` script from the command line, followed by the path to the target directory or zip/rar file you want to visualize.
Example usage:
1. View the contents of a directory:
```
python tree_viewer.py /path/to/directory
```2. View the contents of a zip file:
```
python tree_viewer.py /path/to/zipfile.zip
```3. View the contents of a rar file:
```
python tree_viewer.py /path/to/rarfile.rar
```If the zip or rar file is encrypted, you will be prompted to enter the password (if required) to access its contents.
## Features
- Supports displaying the directory tree structure.
- Handles zip files and rar files, including encrypted ones.
- User-friendly command-line interface.
- Easy navigation and exploration of file contents.## License
This project is licensed under the [MIT License](https://github.com/github-1970/tree-viewer/blob/main/LICENSE).
## Contributing
Contributions to Tree Viewer are welcome! If you find any issues or have suggestions for improvements, please feel free to [open an issue](https://github.com/github-1970/tree-viewer/issues) or submit a pull request.
Happy exploring with Tree Viewer! 🌳👀