https://github.com/deniscooper09/file_sorter
A (very) simple configurable file sorter written in Python.
https://github.com/deniscooper09/file_sorter
file-management file-sorter python util
Last synced: 3 months ago
JSON representation
A (very) simple configurable file sorter written in Python.
- Host: GitHub
- URL: https://github.com/deniscooper09/file_sorter
- Owner: DenisCooper09
- License: mit
- Created: 2025-01-10T22:07:05.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-01-10T22:19:22.000Z (4 months ago)
- Last Synced: 2025-01-10T23:20:03.378Z (4 months ago)
- Topics: file-management, file-sorter, python, util
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# file_sorter.py
A (very) simple configurable file sorter written in Python.## Dependencies
The one and only one dependency is termcolor.
Install using pip:
```bash
pip install termcolor
```## Usage
Copy the **file_sorter.py** file into the directory that contains files that need to be sorted.
Run the script:
```bash
python file_sorter.py
```
## Configuration### Month Names
```python
month_names = [
"Січень",
"Лютий",
"Березень",
"Квітень",
"Травень",
"Червень",
"Липень",
"Серпень",
"Вересень",
"Жовтень",
"Листопад",
"Грудень"
]
```
### More Files
```python
file_extension_folder = {
".mp4" : "Відео",
".jpg" : "Фото",
".file_extension" : "Directory Name",
[...]
}
```