Expose
======

Creates a flat list of album suitable to be imported with iTunes, from
the documents stared in Picasa.

### Prerequisites:
 * It is recomanded backup of your photos in oreder to avoid any data loss
 * This software requires [Java runtime 1.7](http://java.com/en/download)


### Command line:
  `java -jar expose.jar <source> <target>`

 * source: directory of the Picasa document collection
 * target: directory where stared document are copied. This directory 
           must be initially empty. The target must be in the same 
           filesystem as the source and the file system must support hardlinks.

**Warning:** The target is purged for the documents that are not seend stared in 
the source. It means the files and directory in the target can be lost.

### Details:
First the program scans recursively the directory hierarchy, looking for
Picasa '.ini' files. Then the files are parsed in order to extract the list
of stared documents. Now a directory is created for every album that hold
at least one stared file. The album is populated with links to the original
documents. Finally the files & directories of the target that no longer match
a stared document of the input are removed.


Expose
======

Creates a flat list of album suitable to be imported with iTunes, from
the documents stared in Picasa.

### Prerequisites:

 * It is recomanded backup of your photos in oreder to avoid any data loss
 * This software requires [Java runtime 1.7](http://java.com/en/download)

### Command line:

  `java -jar expose.jar <source> <target>`

 * source: directory of the Picasa document collection
 * target: directory where stared document are copied. This directory 
           must be initially empty. The target must be in the same 
           filesystem as the source and the file system must support hardlinks.

**Warning:** The target is purged for the documents that are not seend stared in 
the source. It means the files and directory in the target can be lost.

### Details:

First the program scans recursively the directory hierarchy, looking for
Picasa '.ini' files. Then the files are parsed in order to extract the list
of stared documents. Now a directory is created for every album that hold
at least one stared file. The album is populated with links to the original
documents. Finally the files & directories of the target that no longer match
a stared document of the input are removed.

### Screenshot:

![ScreenShot](https://raw.github.com/piwicode/expose/master/site/2013-08-16_121348.png)

Add a screenshot to readme
Add a screenshot to readme