Mercurial > hg > paul
view 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 |
line wrap: on
line source
#!/bin/sh list=${PWD##*/} year=2009 if [ "$1" = "-y" ] then year=$2 shift ; shift fi dir=/home/lists/$list/Archive/$year$1 echo Syncing $dir . . . rsync -avz localhost:$dir .
