I'm using GNU Parallel to concurrently run a command several thousand times.
To get logs of the execution I'm using --files and --results.
To get nice progress bar while it's running I'm using --eta and --progress.
Now, my problem is that while STDERR is redirected to the files, it is still printed to the terminal, which corrupts my progress bar.
How can I suppress printing STDERR to terminal? I still want to have this information in the log files, so I can't just wrap the command into 2>/dev/null.
So far my command line looks like this:
cat input.txt | parallel -P 10 --progress --eta --files --results output_dir/ "./script.sh some-arg {}"