Sorry. I guess I should have added a usage line.
scriptname [-N=number of files] path\*.ext
Eg. script -N=10 *.pl will print the names of 30 .pl files from the current directory.
script "c:\My Files\*" will print the names 30 files of any type from the specified directory.
You might need to play with it a bit to make it work under *nix.
In reply to Re: Re: Re: random file selection
by BrowserUk
in thread random file selection
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |