From a9101682c1a6efb0a06ef1ccc334e3aa8e75bf1b Mon Sep 17 00:00:00 2001 From: NRK Date: Mon, 13 Sep 2021 23:27:55 +0600 Subject: switch to -iname --- examples/rifle_sxiv.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/rifle_sxiv.sh b/examples/rifle_sxiv.sh index ec55b249..7148d92c 100755 --- a/examples/rifle_sxiv.sh +++ b/examples/rifle_sxiv.sh @@ -15,8 +15,8 @@ tmp="/tmp/sxiv_rifle_$$" listfiles () { find -L "///${1%/*}" \( ! -path "///${1%/*}" -prune \) -type f \ - \( -name '*.jpg' -o -name '*.jpeg' -o -name '*.png' -o -name '*.gif' \ - -o -name '*.webp' -o -name '*.tiff' -o -name '*.bmp' \) -print | + \( -iname '*.jpg' -o -iname '*.jpeg' -o -iname '*.png' -o -iname '*.gif' \ + -o -iname '*.webp' -o -iname '*.tiff' -o -iname '*.bmp' \) -print | sort | tee "$tmp" } -- cgit 1.4.1-2-gfad0