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

add basic setup of rsync with files to ignore #180

Merged
merged 1 commit into from
Oct 23, 2021
Merged

add basic setup of rsync with files to ignore #180

merged 1 commit into from
Oct 23, 2021

Conversation

fneum
Copy link
Member

@fneum fneum commented Oct 7, 2021

I am increasingly using rsync to keep my local developments in sync with the cluster version.

The key here to make it effective is to select files that are ignored from being synced (where one can distinguish send/receive):

rsync -uva --no-g --chmod=Dg+s --exclude-from=.syncignore-send --rsh="ssh -c aes128-gcm@openssh.com -p 22" . <user>@<remote_url>:<remote_folder>/pypsa-eur-sec

See euro-calliope for a reference: https://github.com/calliope-project/euro-calliope/blob/develop/.syncignore-send

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

Successfully merging this pull request may close these issues.

1 participant