[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: return output directory
From: |
Ryan Brothers |
Subject: |
Re: return output directory |
Date: |
Tue, 15 Dec 2015 14:21:43 -0500 |
On Sun, Dec 13, 2015 at 7:37 AM, Ole Tange <tange@gnu.org> wrote:
> You can use trickery like this:
>
> parallel -S $SERVER1 --return a/b/./c/{} 'mkdir -p c; touch c/{}' ::: d
>
> This will transfer $SERVER1:c/d to a/b/c/d
Interesting, thanks. This appears to work for what I was trying to do:
parallel -S $SERVER1 --return a/b/./{} 'touch {}' ::: d
This will create a file d, but save it on the local machine in a/b/d.
I was trying to avoid having the remote server know about where I
wanted to save the file on the local machine, and this appears to
work. Thanks again.
Ryan