The FileOrganizer.py
script is a simple utility for organizing files in a specified directory. It automatically sorts files into subdirectories based on their file extensions, making it easier to manage and locate files.
- Automatic Organization: Files are moved into subfolders named after their extensions (e.g., all
.jpg
files go into a folder namedjpg
). - Dynamic Folder Creation: If a folder for a specific file type doesn't exist, it will be created automatically.
- Ensure you have Python installed on your machine.
- Download the FileOrganizer.py script.
- Open a terminal or command prompt and navigate to the directory where the script is located.
- Run the script using the following command: python FileOrganizer.py
- When prompted, enter the path of the directory you want to organize. Enter path: /path/to/your/directory
- The script will process the files in the specified directory and create folders for each file type, moving the corresponding files into their respective folders.
- Python 3.x
- Basic understanding of file paths in your operating system.
This script is open-source and free to use. Feel free to modify and distribute as needed.
If you'd like to contribute to this project, please open an issue or submit a pull request with your proposed changes or enhancements.