Hi Matthew,
On 3/30/2016 10:26, HUI, Ka Ho wrote:
> I have some 10,000 to 100,000 simulation files to run through PsN so I
> typed in cmd something which looks like the following lines:
[...]
> But the string is too long in this case.

provided that you're trying to do this on linux, you could take a look
at the xargs command. Specifically, you could try the following:

ls xxxxxyyyyy_*mod | xargs execute

You can use the --max-lines parameter if you want xargs to divide the
job into chunks of a given size (say 300 models per execute). See "man
xargs" for the full documentation.

-- 
Paul Matthias Diderichsen, PhD
Quantitative Solutions, a Certara company
+31 624 330 706

Reply via email to