On Wed, Jun 21, 2017 at 5:38 PM, Benjamin Leutner <[email protected]> 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
