Code Monkey home page Code Monkey logo

iphoto-event-exporter's Introduction

iPhoto Exporter

So you've been formatting your computer and forgot to export my iPhoto library. Luckily you still have the library intact (e.g. on Dropbox or other backup media). You need a way to export the original photos and want to keep my created events intact.

This was my reason for making this little package. Are you in the same situation I hope you find this usefull.

The iPhoto Exporter will utilize an XML-file (AlbumData.xml) found inside the iPhoto library, parse the file to find your events and photos to these. Each event will be created as a folder with the event name and the original set of images (masters) will be copied to it.

Installation

All you need is Git and Node.

$ git clone [email protected]:simonjensen/iphoto-event-exporter.git
$ npm install

Usage

Usage: iphoto-export [options]

Options:

    -h, --help           output usage information
    -V, --version        output the version number
    -s, --src [src]      The source directory where your iPhoto Library is
    -d, --dest [dest]    The destination directory you want to export the event(s) to
    -l, --list [list]    List all events and indexes
    -i, --index [index]  Export a specific event by index

To get a list of available options:

$ node iphoto-export.js -h

To list all events in the iPhoto library:

$ node iphoto-export.js -s <path to iPhoto library> -d . -l

To export a single event:

$ node iphoto-export.js -s <path to iPhoto library> -d <path you want to export to> -i <index>

To export all the events:

$ node iphoto-export.js -s <path to iPhoto library> -d <path you want to export to>

Disclaimer

I've only used tried this script on my one iPhoto library so I'm not 100% sure if the XML-structure targeted in this app will always hold true!

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.