Giter Site home page Giter Site logo

gdrive-media-organizer's Introduction

Google Drive Media Organizer

Why?

To make a short story long... ๐Ÿ˜ My Google Photos from my Android automatically backs up to my Google Drive. This of course is a good thing, but since all of the files end up in the same folder, it has gotten close to impossible to look through hundreds and hundreds of pictures/movies.

So, an idea struck me - why not write a script that would parse out the year, month and date from the filename, create the appropriate folders and move the files in there?

The rest is history...

How do I run this thing?

You will need to have Node.js installed (I had 6.10 installed - not sure what other versions this will work on).

  • Clone this repo.
  • Inside index.js replace the following line with the path to your Google Photos folder (This should probably be an environment variable or a property or whatever...)
const googlePhotosDir = '/Users/kalmanhazins/Google Drive/Google Photos'
  • Run npm install
  • Run node index.js

gdrive-media-organizer's People

Contributors

kalmanh 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.