Version1.3.4-30-gcafd41c
Revision376
Size2.3 MB
LicenseApache-2.0
Confinementstrict
Basecore22

A script that picks a random selection of files


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.

Usage Example
-------------

 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.

Update History

1.3.4-30-gcafd41c (376)
13 Dec 2025, 09:47 UTC

Published18 Jun 2023, 21:08 UTC

Last updated31 Jul 2024, 02:40 UTC

First seen13 Dec 2025, 09:47 UTC