Pass on --db to the autoimport command

This commit is contained in:
2022-11-18 14:05:31 +01:00
parent b483c72df7
commit 69951be543

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() {