skripty/publikuj.sh
author František Kučera <franta-hg@frantovo.cz>
Mon, 08 Jun 2020 12:34:16 +0200
branchv_0
changeset 301 7029e6c47700
parent 203 7fc78d738333
permissions -rwxr-xr-x
examples: improved Doing projection and restriction using cut and grep – add a chapter about CSV
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
203
7fc78d738333 publishing script
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     1
#!/bin/bash
7fc78d738333 publishing script
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     2
SERVER="globalcode.info";
7fc78d738333 publishing script
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     3
ADRESAR="/var/www/relational-pipes.globalcode.info/$(hg branch)/";
7fc78d738333 publishing script
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     4
rsync -av výstup/ $SERVER:$ADRESAR