Pass on --db to the autoimport command

This commit is contained in:
Lukáš Kucharczyk 2022-11-18 14:05:31 +01:00
parent b483c72df7
commit 69951be543
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
1 changed files with 1 additions and 1 deletions

2
tag.sh
View File

@ -173,7 +173,7 @@ add_hash() {
add_path_auto() {
# $REGEX $FOLDER
find "${2}" -type f -regextype posix-extended -iregex "$1" -exec "$0" import "{}" +
find "${2}" -type f -regextype posix-extended -iregex "$1" -exec "$0" --db "$DB_FILE" import "{}" +
}
tag_exists_in_db() {