GithubHelp home page GithubHelp logo

dipeshc / photo-organizer Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 16 KB

A quick and dirty script/application designed to allow my wife to quickly pre-process 10s of gigabytes of photos she found on some old hard drives. These drives had different organization patterns and many drives contained duplicates.

License: MIT License

Python 100.00%

photo-organizer's Introduction

Photo Organizer

What is it?

A quick and dirty script/application designed to allow my wife to quickly pre-process 10s of gigabytes of photos she found on some old hard drives. These drives had different organization patterns and many drives contained duplicates.

This script/application is not meant to take the place of any dedicated photo management system, but instead intended to help a human pre-process the files into some logical order before they come along and sort the photos into something more significant like events.

What does it do?

Process a folder containing photos and vidoes and copies them into a new directory structure based on the year, month, and week the file was taken.

While processing the photos, it detects duplicates and marks them as such. The first file found is the original, any subsequent copies are marked as duplicates.

How do you run it?

Firstly download the application from Releases onto your computer. There are 3 types; weekly, monthly and yearly. Each will organize to that level of precision.

If your running on Windows, drag a folder onto the application. The application will create a new folder adjacent the one that was just dragged ontop but suffixed with "-organized". This folder will contain the organized files.

If your on Mac, double click the application, drag the folder onto the terminal that just opened and then hit return.

How do I build it?

The below steps will create an executable application. Whichever platform (i.e. Windows, Mac, or Linux) is used, is the only place the application will run.

Be sure to alread have Python 3.8 or greater installed.

Mac and Linux

python3 -m venv env
source ./env/bin/activate
pip install -e .[dev]
pyinstaller --onefile photoorganizer.py

Windows

python -m venv env
.\env\Scripts\Activate.ps1
pip install -e .[dev]
pyinstaller --onefile photoorganizer.py

Notes

  • The weekly, monthly and yearly precision is determined by the file name of the application/executable. If the name is changed to not include anything, then weekly is used by default.

photo-organizer's People

Contributors

dependabot[bot] avatar dipeshc avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

rzulian

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.