Skip to content

Instantly share code, notes, and snippets.

@tuxflo
Created January 31, 2018 21:13
Show Gist options
  • Save tuxflo/88e4ae2c526c899fb48c86dee3ec5cdf to your computer and use it in GitHub Desktop.
Save tuxflo/88e4ae2c526c899fb48c86dee3ec5cdf to your computer and use it in GitHub Desktop.
digikam import.sh
#!/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