Skip to content

--R / --relative problems #4

@HetFenomeenJoost

Description

@HetFenomeenJoost

Hi,

Using MatthewSteeples' fork of the code, I'm having some problems using the -R / --relative option. In a testapp, I call:

string[] args = new string[] { "-v", "-r", "-c", "--relative", "c:\\temp\\rsync\\source\\", "rsync://SshUser@localhost/backup" };
NetSync.Run(args);

This results in a (sub)directory structure /c/temp/rsync/source/ on the target, where I was expecting the file in directory c:\temp\rsync\source\ on the source to be copied into the root of the target.

It could be that I am misinterpreting some option parameter(?). Overall the port of rsync really works great, I just can't solve this one problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions