When transfering a directory with transferfile cleanup gets confused and tries to delete it as a file not as a directory resulting in error messages.
To reproduce:
mkdir test
touch test/file
parallel --workdir ... --transferfile test --cleanup -S 2/Node02 "ls; echo" ::: 0 1
Output:
test
0
rm: cannot remove './.parallel/tmp/node01-1800-1/test': Is a directory
test
1
rm: cannot remove './.parallel/tmp/node01-1800-2/test': Is a directory
Everything works as intended but throws error messages unnecessarily.
Best wishes,
Radost