Giter Club home page Giter Club logo

drop-drop-box's Introduction

Migrate out of Dropbox

It's a command line tool that lets you incrementally migrate photos away from Dropbox, and move my photos into Google Photos.

This is a command line tool with several subcommands so that you can orchestra the migration a fine or bulky as you want:

  • add a Dropbox folder to be migrated
  • discover photos within Dropbox folders
  • move photos over to google photos

After the photos are moved to Google photos, they are moved to a folder on Dropbox so they can be manually deleted (if you want).

Usage (not done)

$ ts-node src/index.ts  help
      _                                      _                                  _                    
   __| |  _ __    ___    _ __             __| |  _ __    ___    _ __           | |__     ___   __  __
  / _` | | '__|  / _ \  | '_ \   _____   / _` | | '__|  / _ \  | '_ \   _____  | '_ \   / _ \  \ \/ /
 | (_| | | |    | (_) | | |_) | |_____| | (_| | | |    | (_) | | |_) | |_____| | |_) | | (_) |  >  < 
  \__,_| |_|     \___/  | .__/           \__,_| |_|     \___/  | .__/          |_.__/   \___/  /_/\_\
                        |_|                                    |_|                                   
Usage: drop-drop-box [options] [command]

CLI for transferring images from Dropbox to Google Photos

Options:
  -db, --database <db>         SQLLite3 database path (default: "./dropbox-db.sqlite3")
  -h, --help                   display help for command

Commands:
  stats                        Show current DB stats and queue lengths
  folders                      Show Dropbox folders queued for migration
  login [google|dropbox|all]   Log in
  logout [google|dropbox|all]  Reset the persisted auth
  add <paths...>               Enqueue DropBox path to search for images (recursively)
  discover [n]                 Discover new Dropbox files in queued folders
  album <name>                 Create new album on Google photos and migrate all future images to this album
  transfer [n]                 Transfer queued Dropbox items to Google Photos
  help [command]               display help for command

TODOs

Questions

  • make sure creationTime is accurately set. seems to be
  • is other metadata being lost?

Code sources

drop-drop-box's People

Contributors

dependabot[bot] avatar ndp avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

charlestonx-dao

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.