forked from apfelkraut/ExportLRCatalog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConfig.sh
32 lines (23 loc) · 1.13 KB
/
Config.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash
# Dry run to change nothing and just log actions
DRYRUN=true
# Single directory per collection that includes all parent collection groups or
# create (sub)directory structure following the collection's hierachy
FLATEXPORT=true
# Rename files when exporting or leave original filename
RENAME=false
# Seperator to be used when multiple collection (group) names are combined to
# a single directory name during export (see FLATEXPORT). Otherwise being ignored.
COLLECTIONHIERACHYSEP="_"
# Which collections shall not be exported? (e.g. the Quick Collection)
BLACKLISTEDCOLLECTIONS="('21')"
# Which years shall be handled via separate export?
# Note: Applies only to images that are not part of any collection (unspecified).
YEARS="('2008','2009','2010','2011','2012','2013','2014','2015','2016','2017','2018')"
# Path to the LR catalog
CATALOG="$HOME/Pictures/Lightroom/Lightroom Catalog.lrcat"
LOCK_FILE="$CATALOG.lock"
# Directory where the LR catalog usually expects the files (without trailing slash)
IMPORTDIR="$HOME/Pictures"
# Directory where the files shall be exported (without trailing slash)
EXPORTDIR="$HOME/Downloads/LR_Export"