dotfiles/.bin/OLD/imagesort

13 lines
402 B
Plaintext
Raw Normal View History

#!/bin/sh
find ${@:-.} -mindepth 1 \
-maxdepth 1 \
-type f \( -iname "*.jpg" \
-o -iname "*.jpeg" \
-o -iname "*.png" \
-o -iname "*.tif" \
-o -iname "*.gif" \
-o -iname "*.heic" \
-o -iname "*.dng" \
\) | sort | nsxiv -ati