This script organizes files in a specified directory into subdirectories based on their file types.
- None
Run the script and follow the prompt to enter the directory path:
python file_organizer.py
The script will create subdirectories based on file types and move the files into the appropriate folders.
Enter the directory to organize: /path/to/directory
Moved image.jpg to Images
Moved document.pdf to Documents
Moved song.mp3 to Audio