about summary refs log tree commit diff stats
path: root/examples
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2021-09-13 23:27:55 +0600
committerNRK <nrk@disroot.org>2021-09-13 23:27:55 +0600
commita9101682c1a6efb0a06ef1ccc334e3aa8e75bf1b (patch)
treea26ae43e7b76cdf926ed60f12306bb8cb7adcd2f /examples
parent6b674f2c89247c35065b2141c48a38ebeb4e55ad (diff)
downloadranger-a9101682c1a6efb0a06ef1ccc334e3aa8e75bf1b.tar.gz
switch to -iname
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/rifle_sxiv.sh4
1 files changed, 2 insertions, 2 deletions
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"
 }