Lightroom wrapper script

This commit is contained in:
2018-02-19 12:34:42 -08:00
parent 8de5826666
commit 5dcc166392

24
bin/lightroom Executable file
View File

@@ -0,0 +1,24 @@
#!/bin/bash
set -e
if [[ "$1" == "-n" ]]; then
echo "Linking to Network Drive"
open "smb://parkbench/media"
PICTURES=/Volumes/Media/Pictures
elif [ -e /Volumes/Backup/Pictures ]; then
echo "Linking to External HDD"
PICTURES=/Volumes/Backup/Pictures
else
echo "Linking to Google Drive"
PICTURES="/Volumes/GoogleDrive/My Drive/Photos"
fi
for dir in "$PICTURES"/* ; do
echo "$dir"
ln -sfn "$dir" ~/Photos/ ;
done
cd /gdrive/aaron@aarongutierrez.com && drive pull "Photos/Lightroom/Lightroom Catalog.lrcat"
open "/gdrive/aaron@aarongutierrez.com/Photos/Lightroom/Lightroom Catalog.lrcat"