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