diff options
author | NRK <nrk@disroot.org> | 2021-09-13 23:27:55 +0600 |
---|---|---|
committer | NRK <nrk@disroot.org> | 2021-09-13 23:27:55 +0600 |
commit | a9101682c1a6efb0a06ef1ccc334e3aa8e75bf1b (patch) | |
tree | a26ae43e7b76cdf926ed60f12306bb8cb7adcd2f /examples | |
parent | 6b674f2c89247c35065b2141c48a38ebeb4e55ad (diff) | |
download | ranger-a9101682c1a6efb0a06ef1ccc334e3aa8e75bf1b.tar.gz |
switch to -iname
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/rifle_sxiv.sh | 4 |
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" } |