| title | layout |
|---|---|
Configuration |
lrsync |
LRSync main configuration file is the lrsync.ini file located in $HOME/.lrsync. This file and the $HOME/.lrsync are created the first time LRSync is run if they do not exist. The default contents are:
{% highlight ini %}
[main]
REPODIR=$HOME/Pictures/LRSync/repo
[MyPhotos]
DIR=$HOME/Pictures/Lightroom
FOLDERCONFIG=folders.conf
[SharedPhotos] DIR=/Users/Shared/Pictures/Lightroom
FOLDERCONFIG=folders.conf {% endhighlight %}
The root folders of a catalog can be displayed using LRSync using the following command:
{% highlight bash %} $ ./lrsync.sh -q -c PhotosPerso-2-2 display /Users/Me/Pictures/Lightroom/Photos/ /Users/Shared/Pictures/Lightroom/Photos/ {% endhighlight %}
A folder configuration file defines the relation between folders in the repo catalog and in the working catalogs. One or more folder configuration files may exist. The file consists in several lines with one folder definition per line. For instance:
{% highlight bash %}
C:/Users/Toto/Picture/Lightroom=/Users/Me/Pictures/Lightroom M:/Pictures/Lightroom=/Users/Shared/Pictures/Lightroom {% endhighlight %}