scripts/imv-dir
2022-04-03 23:53:51 +03:00

10 lines
156 B
Bash
Executable File

#!/bin/bash
image="$1"
declare -a ARGS
for a in "$(dirname "$image")"/*; do
if [ -f "$a" ]; then
ARGS+=("$a")
fi
done
exec imv "${ARGS[@]}" -n "$image"