2019-07-11 18:33:10 +00:00
|
|
|
#!/usr/bin/env sh
|
|
|
|
|
|
|
|
# Description: View thumbnail of an image or a directory of images with lsix
|
|
|
|
#
|
2021-05-15 17:32:01 +00:00
|
|
|
# Dependencies: lsix
|
|
|
|
#
|
2019-07-11 18:33:10 +00:00
|
|
|
# Shell: POSIX compliant
|
|
|
|
# Author: Arun Prakash Jana
|
|
|
|
|
2020-11-22 14:39:14 +00:00
|
|
|
if [ -n "$1" ]; then
|
2019-07-11 18:33:10 +00:00
|
|
|
if [ -d "$1" ]; then
|
|
|
|
lsix "$1"/*
|
|
|
|
else
|
|
|
|
lsix "$1"
|
|
|
|
fi
|
|
|
|
|
2019-11-21 20:44:25 +00:00
|
|
|
printf "Press any key to exit..."
|
|
|
|
read -r _
|
2019-07-11 18:33:10 +00:00
|
|
|
fi
|