comparison bin/sync-me @ 0:2aa53823fb21

new repo
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Sat, 06 Jun 2026 10:19:04 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:2aa53823fb21
1 #!/bin/sh
2 list=${PWD##*/}
3 year=2009
4 if [ "$1" = "-y" ]
5 then
6 year=$2
7 shift ; shift
8 fi
9 dir=/home/lists/$list/Archive/$year$1
10 echo Syncing $dir . . .
11 rsync -avz localhost:$dir .