Take the 2-minute tour ×

GNU Parallel is a great tool, but I have problem with receiving the processed files back. Consider this option:

--trc "output/Done {}"

as the result I get error that file


does not exist.

How I can pass the filename to Parallel for return, when (as above) it contains a whitespace?


If you are not fully familiar with GNU Parallel, --trc is abbrevation of transfer, return, cleanup and {} is a substitution for every processed element from input, in my case it is filename.

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

Something somewhere is forgetting to quote an argument. This is quite common in shell scripts, but I'd imagine that something similar could happen in Perl as well (which is what GNU Parallel is written in).

Also, Func.

share|improve this answer
Thank you for the link! But back to my problem -- so are you saying that it is not my fault, but it is rather a bug in Parallel, right? –  greenoldman Dec 8 '10 at 11:58
Assuming that nothing else comes into play, yes. –  Ignacio Vazquez-Abrams Dec 8 '10 at 12:05
add comment

GNU Parallel is designed to give you as few surprises as possible, so this is clearly a bug. Please file a bug report https://savannah.gnu.org/bugs/?func=additem&group=parallel

The workaround until the bug is fixed is:

--trc "output/Done\\ {}"
share|improve this answer
The bug is now fixed –  Ole Tange Apr 5 '11 at 19:20
add comment

Your Answer


