Mercurial > hg > paul
view bin/sync-me @ 1:95740c6658a3
from Meg
| author | Henry S. Thompson <ht@inf.ed.ac.uk> |
|---|---|
| date | Wed, 10 Jun 2026 13:04:44 +0100 |
| parents | 2aa53823fb21 |
| 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 .
