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: Fri, 23 Jun 2017 07:48:24 +0200

On Wed, Jun 21, 2017 at 5:38 PM, Benjamin Leutner
<benjamin.leutner@uni-wuerzburg.de> wrote:
> adding the -K flag (=treat symlinked dir on receiver as dir) to the rsync
> call in rsync_transfer_cmd() would solve this issue.
>
> some scenarios (following my initial example) for what would happen on the
> remote machine:
>
> wd is a valid softlink:                -> no action
> wd is a directory:                     -> no action
> wd is a broken softlink:            -> directory wd is created
> wd is missing:                          -> directory wd is created
>
> Could you add this to parallel?
> It is a slight change of behavior compared to previous versions, but I can't
> imagine a scenario where it would do harm.

My worry would be if old rsync do not support -K. In that case GNU
Parallel would be incompatible with old versions. But it seems -K was
supported back to before version 2.0.0, so that is not an issue.

Fixed in Git.

/Ole



reply via email to

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