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

How to only transfer certain folders (like src) to remote? #4

Open
theronic opened this issue Nov 28, 2018 · 2 comments
Open

How to only transfer certain folders (like src) to remote? #4

theronic opened this issue Nov 28, 2018 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@theronic
Copy link

I have a bunch of binary resources in my project folder because reasons, which I don't want to transfer to the remote target. How can I exclude them?

@sgeisler
Copy link
Owner

sgeisler commented Nov 29, 2018

Thank you for your interest in this project :) rsync has the --exclude flag which allows you to exclude certain files. You could add a flag to cargo-remote that just passes patterns to exclude. I'd be happy to review and merge such a PR, but as I mentioned in your other issue I'm currently not using cargo-remote myself and won't actively develop it for now. It already excludes target, so you can have a look at that.

@sgeisler sgeisler added enhancement New feature or request good first issue Good for newcomers labels Nov 29, 2018
@theronic
Copy link
Author

Haha "first good issue" :). Yeah, no expectations - I'm opening issues partly as capture-the-flag features (and because I have a bad memory) for future Rustaceans. I did hack some changes together to limit syncing, but not PR-ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants