Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

--R / --relative problems #4

Open
HetFenomeenJoost opened this issue Dec 13, 2010 · 1 comment
Open

--R / --relative problems #4

HetFenomeenJoost opened this issue Dec 13, 2010 · 1 comment

Comments

@HetFenomeenJoost
Copy link

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.

@HetFenomeenJoost
Copy link
Author

'NetSync' in this context is an instance of MainClass of course.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant