>>14059082I should add -type f though
>>14059064Your for loop is giving messed up data for anything with spaces in it. (the for loop uses any white space as a delimiter.)
It would be good to do
find ~/Pictures/main_pictures/Akari_Akaza -type f | shuf | while read akari; do xdg-open "$akari"; done
instead