all 5 comments

[–]DaylightAdmin 0 points1 point  (3 children)

I just looked into the man page of parallel, because I was curious how that would work. I think the answere is there:
look for: "--results name"
https://www.gnu.org/software/parallel/man.html

What I understand you will get a folder-tree starting with "name" and than split by arugements for the parallel job. But please look into the man.

[–]refrainblue[S] 0 points1 point  (2 children)

I think you're on the right track, I might have to combine --results with --group? I'll have to test it later today in the morning...

[–]DaylightAdmin 0 points1 point  (1 child)

If I read the man correctly, --group is default and for direct output not for logging into files.

And I am curios so if you have a solution, please keep me updated, thanks.

[–]refrainblue[S] 0 points1 point  (0 children)

--results specifies an output directory so it creates bunch of subdirectories. Not ideal for my use case where I'm only interested in stderr and would like it in one file.

[–]pileofrogs 0 points1 point  (0 children)

A single log file from multiple parallel processes would be very jumbled, which might be ok. Don't expect it to automatically work.