parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: parallel does not preserve symlinked directory structure on remote


From: Ole Tange
Subject: Re: parallel does not preserve symlinked directory structure on remote
Date: Thu, 3 Aug 2017 23:00:38 +0200

On Thu, Aug 3, 2017 at 1:56 PM, Benjamin Leutner
<benjamin.leutner@uni-wuerzburg.de> wrote:
> I just had to add yet another rsync flag, namely "-L" in order to transfer
> the actual file a symlink points to instead of the symlink itself when using
> --transferfile
>
> This gave me the idea that maybe instead of hard-coding all rsync options,
> parallel could accept additional rsync flags and pass them on to rsync.
> Implemented like that, it would give the user access to the full rsync
> functionality without breaking compatibility with old platforms.

I like that better. Is there a recognized way of doing that, that others use?

To me the obvious would be:

PARALLEL_RSYNC=-Flags

Possibly:

PARALLEL_RSYNC_OPTS=-Flags

Should it append-to or override the default: -rlDzR ?

I assume we still want to keep '-e '$PARALLEL_SSH (so you can use
custom ssh command) and '--protocol 30' if the version >= 3.1.


/Ole



reply via email to

[Prev in Thread] Current Thread [Next in Thread]