#!/bin/bash
#                 /usr/local/bin/synccron
# http://crystalfaeries.net/posix/bin/synccron
# celeste:crystalfaery 2013-07-07 17:21:35+00:00
let	result=0	#	success
echo	"`now`	=======	$0	=======	$0	======="	|| let result=1		# counting forwards from beginning of file

# we are merely backing-up to `my_twin`
# we are assuming work-style:
# edit the local ~/.crontab.`hostname` and then:
# crontab	 ~/.crontab.`hostname`
echo   "`now`	=======	$0	=======	$0	======="
let	result=0	#	success
echo   "rsync -auvzH    `/usr/local/bin/my_twin`:~/.cron*  ~"
	rsync -auvzH    `/usr/local/bin/my_twin`:~/.cron*  ~
echo   "rsync -auvzH       ~/.cron*	`/usr/local/bin/my_twin`:~"
	rsync -auvzH       ~/.cron*	`/usr/local/bin/my_twin`:~

echo	"`now`	-------	$0	-------	$0	-------"	|| let result=255	# counting backwards from end of file
exit	$result


syntax highlighted by Code2HTML, v. 0.9.1