tidy-dir
tidy-dir is a simple tool designed to help you clean up your directories. It provides an easy and efficient way to manage and organize your files.
Installation
You can install tidy-dir using pip. Run the following command in your terminal:
pip install tidy-dir
Usage
Using tidy-dir is straightforward. After installation, you can run the command followed by the directory you want to tidy up:
tidy-dir /path/to/your/directory/
For example, if you want to tidy up a directory located at /mydirectory/smt/, you would use:
tidy-dir /mydirectory/smt/
or current directory:
tidy-dir .
Configuration
tidy-dir requires a .tidy-dir-config.json file in the directory you want to tidy up. This configuration file should follow the schema:
{
"new_dir": [".fileextension"]
}
In this schema, replace ".fileextension" with the file extension of the files you want to move to the new directory. For example:
{
"docs": [".txt", ".pdf", ".docx", ".doc", ".pptx", ".ppt", ".xlsx", ".xls"],
"images": [".png", ".jpg", ".jpeg", ".gif", ".svg"],
"videos": [".mp4", ".mov", ".avi", ".mkv", ".wmv"],
"music": [".mp3", ".wav", ".ogg", ".flac", ".m4a"],
"archives": [".zip", ".rar", ".tar", ".gz", ".7z", ".iso", ".xz", ".bz2"],
}
Contributing
Contributions to tidy-dir are always welcome. If you have any ideas or suggestions, feel free to open an issue or submit a pull request.
License
tidy-dir is licensed under the (MIT license)[./LICENSE]. For more information, see the LICENSE file in our repository.
Metadata
Release files for tidy-dir 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tidy-dir-0.0.2.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tidy_dir-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.9 kB
Release files / tidy-dir-0.0.2.tar.gz
| Download URL | tidy-dir-0.0.2.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1b5efb5548dd06c8550855e4b64d34d553d9e9a775fb90404d3da4782d750d1e
|
|
BLAKE2b-256 checksum How to use checksums |
cb176f4405401350d9a17372186c66f61a8800e760c7604c04eb6506383ff7dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / tidy_dir-0.0.2-py3-none-any.whl
| Download URL | tidy_dir-0.0.2-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
92b9268908f8de6d9a4af2542ae7e5036eef7d97ecc3863a40f0503da7c2b515
|
|
BLAKE2b-256 checksum How to use checksums |
ca6adf4b442bc6837b0d6f9a2967435decc8e2db1065a910523c5f04b0c1f5df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|