Pass on --db to the autoimport command
This commit is contained in:
parent
b483c72df7
commit
69951be543
2
tag.sh
2
tag.sh
|
@ -173,7 +173,7 @@ add_hash() {
|
||||||
|
|
||||||
add_path_auto() {
|
add_path_auto() {
|
||||||
# $REGEX $FOLDER
|
# $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() {
|
tag_exists_in_db() {
|
||||||
|
|
Loading…
Reference in New Issue