Giter Site home page Giter Site logo

photo-organizer's Introduction

Photo Organizer

Script para organização de fotos pela data que foram tiradas.

DE:

Photos

├── P1010171.JPG      
├── P1010172.JPG      
├── P1010173.JPG      
├── P1010174.JPG      
├── P1010175.JPG      
├── P1010176.JPG     

PARA:

Photos
├── 2019
│   └── 01
│   │   ├── P1010171.JPG
│   │   ├── P1010172.JPG
│   │   ├── P1010173.JPG
│   └── 02
│   │   ├── P1010174.JPG
│   │   ├── P1010175.JPG
│   └── 03
│   │   ├── P1010176.JPG

Docker

O processo de organização pode ser executado facilmente com docker:

#!/bin/bash
docker run \
  --rm \
  --name photo-organize-eduardo \
  -v /mnt/u01/photos:/photos \
  -e TZ=America/Sao_Paulo \
  -e SOURCE_FOLDER=/photos/stage/eduardo \
  -e DESTINATION_FOLDER=/photos/eduardo \
  -e OPERATION=MOVE \
  duduardo23/photo-organizer:1.0.3

Desenvolvimento

Create virtual env

  sudo pip install virtualenv
  virtualenv env1
  env1\Scripts\activate
  pip3 install -r requirements.txt

Active virtual env

  source env/bin/activate

Update dependencies file:

  pip3 freeze > requirements.txt

photo-organizer's People

Contributors

edubarbieri avatar

Watchers

 avatar

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.