Created
January 31, 2018 21:13
digikam import.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
FILE=$1$2 #hier wird der komplette Dateiname der Datei (Pfad + Name) erstellt | |
DEST=$3 | |
if [ -e $FILE.xmp ]; then # xmp vorhanden, kopiere sie in den neuen Pfad | |
cp $FILE.xmp $DEST | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment