Page 1 of 1

How to Random Pic from inside all folder

Posted: 11 Feb 2023 13:08
by taufan
Hi,

My folder contain 3 folder. For example:
MyPics\folder1\
MyPics\folder2\
MyPics\folder3\

How to pick 4 random pic, from folder MyPics (folder 1, folder 2, folder 3) ?
using:
vi:<get pick 4 "D:\MyPics">

Thanks.

Re: How to Random Pic from inside all folder

Posted: 11 Feb 2023 13:34
by highend
Not possible via pick

Re: How to Random Pic from inside all folder

Posted: 11 Feb 2023 16:31
by Garonne
Didn't Don post a way to do it in multiple steps, though?
  1. Collect all the possible files
  2. Pick n files from the created list
Or something like that?

Re: How to Random Pic from inside all folder

Posted: 11 Feb 2023 16:35
by highend
Yeah, but not as it was requested by using a single (parent) folder: viewtopic.php?p=207332

Re: How to Random Pic from inside all folder

Posted: 12 Feb 2023 12:35
by Garonne
Not if it's unclear how the subfolders are named... true...

Shouldn't that be possible if Don were to enable wildcards/regexes as paths?

That would be bad for performance, though, I guess...