Compare commits

..

No commits in common. "69951be54394d50fc0180726f1c95e6fe7bf1343" and "e00766cce8df8b470b203997dcf58561078ca2b9" have entirely different histories.

1 changed files with 2 additions and 2 deletions

4
tag.sh
View File

@ -21,7 +21,7 @@ SCRIPT_NAME=$(basename "$0")
DB_FILE="${PWD}/tags.db"
[ "${1:-}" = "--db" ] && DB_FILE=$(realpath "${2/#~/$HOME}") && shift 2
[ "${1:-}" = "--db" ] && DB_FILE="$2" && shift 2
DB_SCHEMA="${SCRIPT_DIR}/database.sql"
@ -173,7 +173,7 @@ add_hash() {
add_path_auto() {
# $REGEX $FOLDER
find "${2}" -type f -regextype posix-extended -iregex "$1" -exec "$0" --db "$DB_FILE" import "{}" +
find "${2}" -type f -regextype posix-extended -iregex "$1" -exec "$0" import "{}" +
}
tag_exists_in_db() {