Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Rsync broken on MacOS #54

Open
sbliven opened this issue Apr 25, 2024 · 2 comments
Open

Rsync broken on MacOS #54

sbliven opened this issue Apr 25, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@sbliven
Copy link
Member

sbliven commented Apr 25, 2024

As mentioned in the comments of #43, MacOS ships with rsync 3.2.7 but doesn't support the --msg2stderr parameter. It should use --stderr=error as well, similar to RHEL9 (see #53).

In general, I think we need better rsync capability detection and test this on lots of versions. @kavir1698 looked into libraries for this and didn't find anything current, but maybe we can update one.

@kavir1698 kavir1698 added the bug Something isn't working label Apr 26, 2024
@kavir1698
Copy link
Contributor

kavir1698 commented May 16, 2024

An option is to use a go package for file transfers. Choices include sftp and go-scp. SFTP is the more featureful option.

Both alternatives would need more coding to replicate rsync's features, specifically the --files-from and --progress flags.

@kavir1698
Copy link
Contributor

kavir1698 commented May 16, 2024

Another solution is to write a Linux version of syncDataToFileserver_windows.go to avoid using rsync.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants