From d1b803cdf3657e7bfa11f2aa102db8b565ff1f98 Mon Sep 17 00:00:00 2001 From: NRK Date: Sun, 19 Sep 2021 00:10:56 +0600 Subject: -print explicitly for posix compliance --- examples/rifle_sxiv.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/rifle_sxiv.sh') diff --git a/examples/rifle_sxiv.sh b/examples/rifle_sxiv.sh index 45a13f28..6c1685be 100755 --- a/examples/rifle_sxiv.sh +++ b/examples/rifle_sxiv.sh @@ -14,7 +14,7 @@ tmp="/tmp/sxiv_rifle_$$" listfiles () { - find -L "///${1%/*}" \( ! -path "///${1%/*}" -prune \) -type f | + find -L "///${1%/*}" \( ! -path "///${1%/*}" -prune \) -type f -print | grep -iE '\.(jpe?g|png|gif|webp|tiff|bmp)$' | sort | tee "$tmp" } -- cgit 1.4.1-2-gfad0