Post APGPq1s71dNvBu2RBQ by pogodon@mstdn.io
(DIR) More posts by pogodon@mstdn.io
(DIR) Post #APGLBIAD9Eo61up6yO by valerauko@pawoo.net
2022-11-04T14:18:00Z
0 likes, 0 repeats
find random photo:ls | sort -R | tail -1 | xargs eog
(DIR) Post #APGPq1s71dNvBu2RBQ by pogodon@mstdn.io
2022-11-04T15:10:10Z
0 likes, 0 repeats
@valerauko Like that you have two sorts, because ls sorts by default. I'd use find with a suffix glob instead, since there may be nested directories, mixed content, etc.find . -name \*.jpg | sort...