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

Use Rsync #36

Open
namn-grg opened this issue Dec 20, 2024 · 0 comments
Open

Use Rsync #36

namn-grg opened this issue Dec 20, 2024 · 0 comments

Comments

@namn-grg
Copy link
Collaborator

Currently we use scp to send node config data to all the machines, and therefore also need to delete the old node configs on the machine.

To remove extra files from the destination folder (i.e., make the destination folder an exact replica of the source folder), you should use rsync with the --delete flag.

rsync -av --delete my_folder/ user@remote:/path/to/destination/

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

No branches or pull requests

1 participant