An open API service indexing awesome lists of open source software.

https://github.com/faresbrayek2/filesorter

A Python script that organizes files in a directory based on their extensions, helping you keep your files neatly categorized.
https://github.com/faresbrayek2/filesorter

filesorter python python3 shutil shutil-python

Last synced: 2 months ago
JSON representation

A Python script that organizes files in a directory based on their extensions, helping you keep your files neatly categorized.

Awesome Lists containing this project

README

        

# FileSorter

FileSorter is a Python script that helps you organize files in a directory based on their extensions. This can be particularly useful for keeping your downloads or other folders neatly categorized.

## Features

- Automatically categorizes files into various folders based on their file extensions.
- Customizable categories and file extensions to suit your needs.
- Handles duplicate file names to prevent overwriting.

## Usage

1. Clone or download this repository to your local machine.

2. Place the `FileSorter.py` script in the directory you want to organize.

3. Open a terminal or command prompt and navigate to the directory containing `FileSorter.py`.

4. Run the script by executing the following command:

```bash
python FileSorter.py
```
The script will organize the files in the current directory according to their extensions.
## Customization
. You can customize the categories and file extensions by modifying the extensions dictionary in the script. Add, remove, or modify extensions and categories to fit your specific needs.

## License
. This project is licensed under the MIT License - see the LICENSE file for details.

## Acknowledgments
. Built with Python.
Feel free to contribute, report issues, or suggest enhancements!