Skip to content

Passing flags to rsync #71

Open
Open
@creynders

Description

@creynders

Maybe I just overlooked it in the documentation, but it's not entirely clear how I could pass flags to rsync when transferring files. E.g. I'd like to copy over symlink contents and not the symlinks themselves, this means I have to be able to set the -L flag.

I've tried:

  transport.transfer( files, plan.runtime.options.dest, {
    exec : {
      "copy-links" : true
    }
  } );

and

  transport.transfer( files, plan.runtime.options.dest, {
      "copy-links" : true
  } );

But to no avail. Is this not possible using the transfer wrapper, do I need to use transport.exec instead?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions