From 69951be54394d50fc0180726f1c95e6fe7bf1343 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Fri, 18 Nov 2022 14:05:31 +0100 Subject: [PATCH] Pass on --db to the autoimport command --- tag.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tag.sh b/tag.sh index dd65296..d1cd0b3 100755 --- a/tag.sh +++ b/tag.sh @@ -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() {