This is a Python automation script that sorts downloaded files into different folders based on their extensions. This script is designed to run in the background and monitor system file events using the Watchdog library.
This script requires Python 3.8 or later. You can download Python from here.
- Clone the repository to your local machine.
- Open a terminal and navigate to the project directory.
- Run the following command to install the required libraries:
pip install -r requirements.txt
- Run the following command to start the script:
python fileSorter.py
The script will monitor the Downloads folder and sort files into different folders based on their extensions. The default folder structure is as follows:
.../Downloads/
├── Documents/
├── Images/
├── Audio/
├── Videos/