pick-files is a script that randomly selects a specific number of files from a set of folders and copies these files to a single destination folder. During repeat runs the previously selected files are excluded from the selection for a specific time period that can be specified.
pick-files --number 20 \
--destination output \
--suffix .jpg --suffix .avi \
--folder folder1 --folder folder2
Would choose at random 20 files from folder1 and folder2 (including sub-folders) and copy those files into output. The output is created if it does not exist already. In this example, only files with suffixes .jpg or .avi are considered.
For more details on all supported options, see the :doc:`Supported Options<supported-options>` page or run the command with --help.
There are several options to install this script
snap install pick-files
make
Which requires >= go-1.20
and make
.
The code is hosted on GitHub at <https://github.com/nicolasbock/filechooser>. If you are interested in contributing in any way, please have a look at the repository.