DEV Community

Cover image for TIL: MoveDuplicates – My Solution to Duplicate Image Clutter πŸ’‘
Mai Chi Bao
Mai Chi Bao

Posted on

2 1 1 2 1

TIL: MoveDuplicates – My Solution to Duplicate Image Clutter πŸ’‘

Are duplicate images cluttering your folders? Wasting precious storage space? Worry no more! MoveDuplicates is here to help. This lightweight tool makes it incredibly easy to identify duplicate images and organize your filesβ€”all with just a few clicks.

In this post, you’ll learn what MoveDuplicates does, how to use it, and how to set it up if you want to create your own executable file.


πŸš€ What is MoveDuplicates?

MoveDuplicates is a no-fuss tool that automatically detects duplicate images in a folder and moves them to a separate folder called MCB_duplicate. It’s perfect for anyone who wants to keep their image collection neat and organized without any coding skills or complicated software.


πŸ’‘ Why Use MoveDuplicates?

Duplicate images take up space and create chaos. MoveDuplicates saves time and effort by automatically sorting them out. Whether it’s for your personal photos or work-related image libraries, this tool keeps things clean and efficient.

Key Benefits:

  • βœ… Easy to use: Just double-click and let the tool do the rest.
  • βœ… No coding or installation needed.
  • βœ… Saves time: Quickly separates duplicates into a review folder.

πŸ–ΌοΈ How to Use MoveDuplicates

If you're looking for a quick and easy way to organize your images, this section is for you.

Follow these simple steps to get started with MoveDuplicates:

  1. Download the Tool

    • Visit the repository: deduplicate_images.
    • Go to the Resources section and download the dist.zip file.
    • Unzip the file to extract the contents.
  2. Prepare the Folder

    • Copy the MoveDuplicates.exe file into the folder containing the images you want to check for duplicates.
  3. Run the Tool

    • Double-click the MoveDuplicates.exe file.
    • The tool will:
      • Automatically detect duplicate images.
      • Move all duplicates into a new folder named MCB_duplicate inside the current folder.
  4. Review and Clean Up

    • Open the MCB_duplicate folder.
    • Review the duplicate images and delete any files you no longer need.

πŸŽ₯ Need help? Watch the video tutorial!


βš™οΈ How to Set Up MoveDuplicates (For Advanced Users)

For those who want to recreate the executable file or customize the tool, here’s how to set up MoveDuplicates from the source code:

Step 1: Set Up the Environment

  1. Create a virtual environment:
   python -m venv venv
Enter fullscreen mode Exit fullscreen mode
  1. Activate the virtual environment:

    • On Windows:
     venv\Scripts\activate
    
  2. Install the required dependencies:

   pip install -r requirements.txt
Enter fullscreen mode Exit fullscreen mode

Step 2: Create the Executable File

To generate a .exe file:

  1. Run the following command:
   pyinstaller --onefile --name=MoveDuplicates main.py
Enter fullscreen mode Exit fullscreen mode
  1. The .exe file will appear in the dist folder.

🎯 Why Choose MoveDuplicates?

MoveDuplicates isn’t just a toolβ€”it’s a solution to a common problem. Whether you’re managing personal photos or professional files, this tool helps you keep everything organized effortlessly.

Try MoveDuplicates today and enjoy a clutter-free image library!

πŸ™‹ Have questions? Drop a comment below!

Billboard image

Synthetic monitoring. Built for developers.

Join Vercel, Render, and thousands of other teams that trust Checkly to streamline monitor creation and configuration with Monitoring as Code.

Start Monitoring

Top comments (1)

Collapse
 
mrzaizai2k profile image
Mai Chi Bao β€’

πŸ™Œ "Wow, this is exactly what I needed! The step-by-step guide and video tutorial were super helpful. Great work!"

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

πŸ‘‹ Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay