"GetRandomFiles" is the latest version of the older program "GetRandomFilesV1.py". The newer version has actually a working random file selection, the older version "GetRandomFilesV1" had a bug. PickRandomFiles.py is a python script that copies a random selection of files from a set of folders to a single destination folder. Options: -N 20 => 20 random files will be selected --destination /Path/To/new_folder => enter the new destination path here, if the path exists and is not empty, the files will be moved to a temporary folder in /tmp --suffix .jpg .JPG .jpeg .JPEG .gif .GIF .png .PNG -- => list all files format that create the selection pool for your random list => end this list with -- => currently the program differs between non-capital and capital letters, both have to be entered => Also enter one or several paths to folders that hold the selection pool Examples: PickRandomFiles.py -N 20 --destination /Path/To/new_folder --suffix .jpg .avi .h -- /Path/To/Source/Folder1 /Path/To/Source/Folder2 If python is not in Path then you have to use the full path. Example for the server selecting the new pics for the frame: python /Path/To/scripts/PickRandomFiles.py -N 10 --destination /Path/To/RPiFramePics --suffix .jpg .jpeg .JPG .JPEG .png .PNG .gif .GIF -- /Path/To/Source/Folder1 /Path/To/Source/Folder2