#
# make rc file treatment more robust
##
# regular expression for files/directories to exclude
#
@excludeList = ('\~$', '\/\#',     #emacs autosave files
	'\.o$' , '\.d$',            #object/depend files
	'\.a$'                ,     #ibrary files
	'\.aux$' , '\.dvi$' ,       #TeX files
	'^tex\/.*\.bbl$'    ,       
	'^tex\/.*\.idx'    ,       
	'^tex\/.*\.blg$'    ,       
	'^tex\/.*\.log$'    ,       
	'^tex\/.*\.ps$'       ,       
	'^tex\/.*\.pdf$'      ,       
	'^tex\/.*\.toc$'      ,       
	'^tex\/.*\.eps$'      ,       
	'\/y\.tab\.c$'        ,    #yacc files
	'\/y\.tab\.h$'        ,    #yacc files
	'\/test0'             ,    #CVD Performance files
	'\.tmp$'              ,       
	'\.old\/'             ,       
	'\.old\.tgz$'         ,       
	'\/core$'             ,       
	'\.NOBACKUP$'         ,       
	'^dbase\/.*\.dbs$'    ,      #binary database files
	'\/lib\.' , '\/bin\.' ,     #arch dependent binaries, libraries
	'\/ii\_files$'        ,     #SGI instantiation files
	'voth\/hmx\/charmm\/scratch' ,
	'voth\/paths\/.*\/PI' ,
	'voth\/paths\/.*\/opar.par$' ,
	'voth\/paths\/.*\/pout' ,
	'^bin\/HP' , '^bin\/Linux' , '^bin\/IRIX' , '^bin\/AIX');

#
# verbose=1, the client is talkative
#
$verbose = 1;

#
# command to start progran on remote host
#
$remhost = "remotehost.com";
#
# simple example
#
$rsh = "rsh REMHOST";
#
# more complicated: using ssh with port forwarding and compression
#
$proxyhost = "localhost";
$rsh = "exec ssh -C -f -L 9005:REMHOST:9005 REMHOST";


#
# files and directories to be syncronized
#
@fileList = ( '.cshrc', '.mailrc', '.emacs'   ,
		'.diary', '.plan', '.signature',
		'.fsyncrc', '.fsync-chpc'      ,
		'.fsync-lanl'                  ,
		'News/comp.os.linux.announce'  ,
		'bin'            	       , 
		'common'         	       ,
		'contour'        	       ,
		'dbase'          	       ,
		'graphics'          	       ,
		'images'         	       ,
		'install-linux'		       ,
		'lisp'           	       ,
		'public_html'    	       , 
		'rabitz'         	       ,
		'finances'        	       ,
		'src'            	       ,
		'tex'            	       ,
		'voth' );

#
# server log file name
#
$Slogfile = "fsyncd.log";

#
# how to fire up fsync remotely
#
$progname = "perl bin/fsync";

#
# for files above this size, fsync will prompt for confirmation before copying.
#
$promptFilesize = 1024*1024; # 1MB
