Skip to content

jxy-cybersec/FileOrganizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

🧹 File Organizer + Duplicate Cleaner

A Python automation script that organizes your messy folders by file type and removes duplicate files using content hashing.

🔧 Features

  • ✅ Auto-categorizes files into subfolders: Images, Documents, Videos, etc.
  • ✅ Detects duplicate files based on content (not name)
  • ✅ CLI interface — easy to use, no UI required
  • ✅ Safe: Asks before deleting duplicates

📁 File Types Handled

Category Extensions
Images .jpg, .jpeg, .png
Documents .pdf, .docx, .txt
Videos .mp4, .mkv
Others All other files

🚀 How to Use

  1. Clone or download the project:
git clone https://github.com/yourusername/FileOrganizer.git
cd FileOrganizer

2. Run the script:

bash
Copy code
python main.py

3. Enter full path of folder to organize.

4. Confirm duplicate cleanup when prompted.


💡 Example
📁 Enter full path of folder to organize: C:\Users\YourName\Downloads

✅ Moved: file1.jpg ➝ Images/
✅ Moved: resume.pdf ➝ Documents/

✨ Do you want to scan and delete duplicate files? (y/n): y

🗑️ Deleted: C:\Users\YourName\Downloads\Images\copy1.jpg


📦 Built With
Python 3

os, shutil, hashlib modules

🧑‍💻 Author
Digvijay Gholase — aspiring Python developer
GitHub: github.com/jxy-cybersec

About

Python script to organize files and clean duplicates

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages