skripty/publikuj.sh
author František Kučera <franta-hg@frantovo.cz>
Sun, 16 Dec 2018 13:35:54 +0100
branchv_0
changeset 214 63f31bf2697f
parent 203 7fc78d738333
permissions -rwxr-xr-x
examples: Writing an output filter in Bash
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