@kaia Most of my saves are videos but this came up.
here's mine with ls/grep because I hate find's syntax, also More Random™️ random
getseededrandom() {
seed=`date +%s`
openssl enc -aes-256-ctr -pass pass:"$seed" -nosalt < /dev/zero 2> /dev/null
}
alias greprandovid="ls | grep -E '.mp4|.webm|.gif|.mkv|.avi' | shuf --random-source=<(getseededrandom) -n 1"