Commit 86e387bc authored by Paul Rougieux's avatar Paul Rougieux
Browse files

Use alias instead of server name

parent 57055e40
Loading
Loading
Loading
Loading
Loading
+2 −2
Changes for docs/synchronization_from_server_to_laptop.md: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ The server is `gams.gams.bioecon.uni-hohenheim.de`, with the repository at
    rsync -avm \
      --exclude='.venv/' --exclude='venv/' --exclude='data/' --exclude='__pycache__/' \
      --include='*/' --include='*.html' --exclude='*' \
      paul@gams.gams.bioecon.uni-hohenheim.de:/home/paul/rp/uhoh/analyse_open_data/events/ \
      uhoh:/home/paul/rp/uhoh/analyse_open_data/events/ \
      ~/rp/uhoh/analyse_open_data/events/

How the filter works (rsync applies the first rule that matches):
@@ -28,5 +28,5 @@ This reads every `.gitignore` in the tree. It copies scripts, notes and
outputs, but skips the venvs and data:

    rsync -avm --filter=':- .gitignore' --exclude='.git/' \
      paul@gams.gams.bioecon.uni-hohenheim.de:/home/paul/rp/uhoh/analyse_open_data/ \
      uhoh:/home/paul/rp/uhoh/analyse_open_data/ \
      ~/rp/uhoh/analyse_open_data/