Hi,
I'm doing some calculations on other machines which result in a folder.
Now when I try to return the folders from remote it works perfectly:
# This returns the folder test.dir
parallel --sshloginfile ~/mymachines --return {}.dir 'mkdir {}.dir' :::
"test"
However --cleanup does not work, since it is a folder.
parallel --sshloginfile ~/mymachines --cleanup --return {}.dir 'mkdir
{}.dir' ::: "test"
rm: cannot remove '/home/myuser/test.dir': Is a directory
Is there a way to include the recursive flag (-r) for the clean-up
operation?
I know I can tar the folder but I'd like to have as little overhead as
possible and I need them as folders for further processing anyways.
I'm looking forward to your input,
Best,
Benjamin