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

Need to implement a file sync task #1

Open
rtyler opened this issue Jan 1, 2021 · 2 comments
Open

Need to implement a file sync task #1

rtyler opened this issue Jan 1, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@rtyler
Copy link
Owner

rtyler commented Jan 1, 2021

With shell execution working, I need a good task definition for syncing a file/directory over to a target.

@rtyler rtyler added the enhancement New feature or request label Jan 1, 2021
@rtyler rtyler self-assigned this Jan 1, 2021
@rtyler
Copy link
Owner Author

rtyler commented Jan 1, 2021

When I was thinking about this last night I thought "why not just wrap rsync"?

Part of the problem is that would then need to introduce syntax for executing locally rather than just on the target. And I'm not sure I want to tackle that just yet. It also adds an rsync dependency on both ends.

Ideally this is something I can build into the zap CLI easily

@rtyler
Copy link
Owner Author

rtyler commented Jan 1, 2021

I think the sftp subsystem in Ssh2 is in my future here: https://docs.rs/ssh2/0.9.0/ssh2/struct.Sftp.html

rtyler added a commit that referenced this issue Jan 1, 2021
… tasks"

Some number of tasks I will want to be "builtin" and need to know a little bit
more about the transport in order to make that work.

The traits, they are coming.

See #1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant