; find ./ \( -iname '*.png' \) -type f -exec ls -lt --time-style=+"%Y-%m-%d %T" {} + | sort -k6,7 | grep "fun" | awk {'print '} | sxiv -i
Created
April 15, 2024 02:07
-
-
Save deomorxsy/bd15545f1e8a142bebba4bc602ad68e9 to your computer and use it in GitHub Desktop.
find all filetype png, sort by time, newest first, grep a pattern, filter the stream of its filename and pass the filename as stdin to the sxiv image viewer.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment