mardi 5 décembre 2017

how to display 3 random pictures out of 8 using bash

I have 8 images in a directory.

the path is /blabla.com/img.

I need to access this path and choose 3 out of 8 randomly and display those.

If 3 pics are the same, it should echo "yeeey".

Otherwise, "neeey" and record these responses in a text file.




Aucun commentaire:

Enregistrer un commentaire