#!/bin/sh
cd /cygdrive/v/home/rurban/film/helsinki
# rem pscp filmtermine.html @xarch:public_html/film/helsinki/
nf=filmtermine-`date +"%Y%m%d"`.phtml

#plink @tv "cd helsinki; mv filmtermine.html $nf; gzip -f $nf"
#pscp filmtermine.html @tv:helsinki/

ci -u -q -m'update' filmtermine.phtml
cp -f filmtermine.phtml $nf
ssh xarch "cd film/helsinki; mv -f filmtermine.phtml $nf; gzip -f $nf"
scp filmtermine.phtml xarch:film/helsinki/
echo `date +"%Y%m%d"` >> .filmtermine.up

