File Sorter
$0+
$0+
https://schema.org/InStock
usd
Lucas
English Manual (Complete for Beginners) 🇬🇧
This is a Python script that helps you automatically organize files in a folder by their file extension (e.g., jpg, pdf, docx, etc.). No more messy folders! Photos go to the photo folder, documents go to the document folder — automatically! 😄
Installation & Setup 🛠️
1. Install Python 🐍
First, install Python from the following link:
https://www.python.org/downloads/
Be sure to check the Add Python to PATH option during installation for proper setup. ✅
2. Save the script 💾
Copy the code above into a file and save it as file_sorter.py.
3. Choose the folder to organize 📁
Choose a folder that contains the files you want to organize. Example: the “Downloads” folder or any other folder.
How to Use 💻
1. Open Command Prompt or Terminal 🖥️
• Windows: Press Win + R, type cmd, and press Enter.
• macOS: Open the Terminal app.
2. Navigate to the folder where the script is located 📂
For example, if the script is on your Desktop, use the following command in the terminal:
cd C:\Users\YourName\Desktop
3. Run the script ▶️
Type the following command to run the script:
python file_sorter.py
4. Enter the folder path 📍
When prompted, enter the path of the folder you want to organize. Example:
Enter folder path to organize: C:\Users\Lucas\Downloads
5. Done! 🎉
The script will automatically sort the files into subfolders based on their extensions (e.g., JPG_files, PDF_files).
Example Result 📂
Downloads/
├── JPG_files/
│ └── dog.jpg
├── PDF_files/
│ └── file.pdf
├── TXT_files/
│ └── note.txt
FAQ ❓
• How do I find the folder path?
Simply go into the folder and copy the path from the address bar. ✨
• Can it handle Korean or other non-English folders?
Yes, the program works fine with non-English characters in the folder path.
• Can I undo the move?
The program moves files permanently, so it cannot be undone. Use with care! ⚠️
Size
2.18 KB
Add to wishlist