# iphoto-event-exporter

> Export your iPhoto library events

Latest version **1.0.0** (published 2015-01-25) · 0 weekly downloads

## Install

```sh
npm install iphoto-event-exporter
pnpm add iphoto-event-exporter
yarn add iphoto-event-exporter
bun add iphoto-event-exporter
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2015-01-25 |
| First published | 2015-01-25 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Simon Jensen |
| Maintainers | simonjensen |
| Keywords | iphoto, export, node |

## Links

- npm: https://www.npmjs.com/package/iphoto-event-exporter
- Repository: http://github.com/simonjensen/iphoto-event-exporter
- Homepage: https://github.com/simonjensen/iphoto-event-exporter
- Issues: https://github.com/simonjensen/iphoto-event-exporter/issues
- npm.io page: https://npm.io/package/iphoto-event-exporter

## Dependencies (5)

- [colors](https://npm.io/package/colors.md) 1.0.3
- [fs.extra](https://npm.io/package/fs.extra.md) 1.3.2
- [commander](https://npm.io/package/commander.md) 2.6.0
- [exec-sync](https://npm.io/package/exec-sync.md) 0.1.6
- [xml-parser](https://npm.io/package/xml-parser.md) 1.2.0

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2015-01-25

## README

# 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][git] and [Node][node].

```sh
$ git clone git@github.com:simonjensen/iphoto-event-exporter.git
$ npm install
```

### Usage

```sh
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:
```sh
$ node iphoto-export.js -h
```

To list all events in the iPhoto library:
```sh
$ node iphoto-export.js -s <path to iPhoto library> -d . -l
```

To export a single event:
```sh
$ node iphoto-export.js -s <path to iPhoto library> -d <path you want to export to> -i <index>
```

To export all the events:
```sh
$ 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!

[git]:http://git-scm.com/book/en/v2/Getting-Started-Installing-Git
[node]:http://nodejs.org

---
_Source: https://npm.io/package/iphoto-event-exporter · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
