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