A CLI tool to sort your files into organized directories.
Project description
TidyFile
TidyFile: Declutter your workspace with this command-line tool that automatically categorizes and sorts your files into organized directories.
Features
- Automatically categorizes files into predefined groups like Documents, Images, Videos, Archives, and more.
- Provides a summary of the files and their categories.
- Generates a report of categorized files in Markdown format.
Installation
You can install TidyFile using pip:
pip install tidyfile
Usage
Sorting Files
To sort files in the current directory into categorized directories:
tidyfile sort
Preview Files
To preview all files in the current directory categorized without moving the files:
tidyfile preview
A simplified example of the output:
- Documents
- document1.pdf
- report.docx
- Images
- image1.jpg
- photo.png
Build Instructions
This project uses uv for management. To build the project, follow these steps:
- Install
uvby following the uv documentation. - Clone the repository:
git clone https://github.com/heshinth/tidyfile.git
- Sync the project dependencies using uv sync:
uv sync
Future Plans
- Ability to export categorized files as JSON and CSV formats.
- Custom Categories: Allow users to define their own file categories and extensions.
- Recursive Sorting: Add an option to sort files in subdirectories recursively.
Contact
For any inquiries or issues, please open an issue on the GitHub repository.
License
This project is licensed under the GPL-3.0 License. See the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tidyfile-0.1.1.tar.gz.
File metadata
- Download URL: tidyfile-0.1.1.tar.gz
- Upload date:
- Size: 32.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13f003f94f6edd7f247511225eccbba8c0f5d394008011e8395ea83ebc6ae19f
|
|
| MD5 |
e4a8b43447ebee553f65afbe580eee37
|
|
| BLAKE2b-256 |
4bd18484ee92f4ea5ea2f90212a59644b1a622226e11dc9500da2fd4670664d0
|
File details
Details for the file tidyfile-0.1.1-py3-none-any.whl.
File metadata
- Download URL: tidyfile-0.1.1-py3-none-any.whl
- Upload date:
- Size: 31.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24af87dfb5f888e838bc9119183f33d7cb0036aeffb601ef1d146da3cf2bd6d7
|
|
| MD5 |
e6af2ebc86cd77fcd6532dfe3af3b50a
|
|
| BLAKE2b-256 |
c0d0c1c9e027f4412e401c6fa5a1be3849f2bd832ee68e14d9db30c7162116f9
|