I'm using a raspberry pi for a digital art project by displaying images in a ascii form on a monitor but I would like it to rotate through random images in the folder every hour. I have a bash script set up to just run the basic command down below.
ascii-image-converter Pictures/IMAGE HERE.png -c -C --color-bg -f -m " .-=+!@#$%&*()" How would I add a random function to this command and time the bash script to run at certain intervals?
cron, there's alsosystemd-timers(and other packages), butcronis quicker and easier to get started with.RANDOMand the device/dev/urandom.