# ~jhs/Distfile --> public_html/home/Distfile Notes at end of file. STICK_HOSTS= ( fire blak laph laps lapr ) SKIP_PATH = ( ./.AbiSuite ./.HOME ./.ICEauthority ./.XSM-Default ./.XSMlock-Default ./.Xauthority ./.Xdefaults ./._ ./mail/.exmhaudit ./mail/.xbiff ./mail/.Recent ./mail/error ./mail/owner ./mail/spam ./.amaya ./.backup.net ./.cache ./.config ./.dev.nokia.tty ./.dev.nokia.usb ./.dev.sony.tty ./.dev.sony.usb ./.dingrc ./.dvdcss ./.dvdrip ./.dvdriprc ./.esd_auth ./.fonts.cache-1 ./.forward ./.freemind ./.fullcircle ./.gnokii-errors ./.gnome2 ./.gnome_private ./.gtk-bookmarks ./.java ./.kazehakase/mozilla/kazehakase/Cache\* ./.kde ./.lesshst ./.login.conf.sample ./.lsof_fire ./.lyx ./.mMosaic ./.mcop ./.mcoprc ./.mozilla/firefox ./.mplayer ./.mtvrc ./.openoffice.org/3 ./.openoffice.org2 ./.pptout ./.procmail.tmp ./.realplayerrc ./.recently-used ./.sversionrc ./.sylpheed ./.telno.pid ./.texmf-var ./.thunderbird ./.viminfo ./.vlc ./.x11amp ./.xfig ./.xfigrc ./.xine ./.xsession-errors ./private/etc/pbx/aliases ./tmp ) # These if added to SKIP_PATH & if they exist, stop rdist running: # ./.XSM-Fail* ./.xsm* ./._/.DOTS/.mozilla/*/*/Cache # Spaces in names: '.XSM-Fail Safe' '.XSMlock-Fail Safe' SKIP_PATERN = ( /catalog\.cache /,[0-9] /Cache/ /\.cache/ /cache/ \.fontconfig/[0-9a-z\-]+\.cache-2 \*.core \*.sqlite ) fire: # cd ~/._dir ; nice rdist6 `hostname -s` . -> ( laph laps lapr blak ) # no lapl till fdisk done JJLATER install -w -R /crypt/fs/1700m/home/jhs/._dir ; except ( ${SKIP_PATH} ) ; except_pat ( ${SKIP_PATERN} ) ; # /host/lapl/crypt/fs/1700m/home/jhs/._dir@ -> /usr1/home/jhs/._dir # /host/blak/crypt/fs/1700m/home/jhs -> ../../../../usr/backup/home/jhs # NOT CRYPTED laph: # cd /crypt/fs/1700m/home/jhs/._dir ; nice rdist6 `hostname -s` . -> ( fire ) # return after a trip install -w -R /home/jhs/._dir ; except ( ${SKIP_PATH} ) ; except_pat ( ${SKIP_PATERN} ) ; # /host/lapl/crypt/fs/1700m/home/jhs/._dir@ -> /usr1/home/jhs/._dir laps: # cd /crypt/fs/1700m/home/jhs/._dir ; nice rdist6 `hostname -s` . -> ( fire ) # return after a trip install -w -R /home/jhs/._dir ; except ( ${SKIP_PATH} ) ; except_pat ( ${SKIP_PATERN} ) ; # /host/lapl/crypt/fs/1700m/home/jhs/._dir@ -> /usr1/home/jhs/._dir disk2: # cd ; nice rdist6 disk2 . -> ( laph laps lapr ) install -w -R /usb/disk2/home/jhs ; except ( ${SKIP_PATH} ) ; sanjes: # cd ~/._dir ; nice rdist6 sanjes . -> ( ${STICK_HOSTS} ) install -w -R /usb/sanjes.ufs/jhs/._dir ; except ( ${SKIP_PATH} ./mail/sent ./mail/list ./mail/freebsd ) ; except_pat ( ${SKIP_PATERN} ) ; except_pat ( .mh_sequences .xmhcache ) ; # This stick is Slow so avoid more stuff. dlock: # cd ~/._dir ; nice rdist6 dlock . -> ( ${STICK_HOSTS} ) install -w -R /usb/dlock.ufs/jhs/._dir ; except ( ${SKIP_PATH} ./mail/sent ./mail/list ./mail/freebsd ) ; except_pat ( ${SKIP_PATERN} ) ; except_pat ( .mh_sequences .xmhcache ) ; integral: # cd ~/._dir ; nice rdist6 integral . -> ( ${STICK_HOSTS} ) install -w -R /usb/integral.ufs/jhs/._dir ; except ( ${SKIP_PATH} ) ; except_pat ( ${SKIP_PATERN} ) ; # Sandisk 16 mins on 450 Meg USB-1 if nothing to do. Before gbde. # Sandisk 30 mins when nothing much to update. Before gbde. # Integral takes about 5 mins when nothing much to update. # rdist6 needs a label, else all all labels get run. # -F sequential hosts. Useful if a host is turned off, to avoid hanging. # Also good for safety: If one moved a directory, ran rdist # simultaneously & then there was a disc crash on source # disk, you might be unlucky & have data deleted on all # mirrors before it was rewritten to new position. # -w obsolete on rdist6, needed on older rdist to avoid dir. flattening. # -R obsolete on rdist6 # rdist6 requires /usr/local/bin/rdistd on remote (from ports/net/rdist6) # if "44bsd-rdist `hostname -s`" fails with Command not found." do on remote: # cd /usr/local/bin ; ln -s 44bsd-rdist rdist # cd /usr/local/bin ; ln -s rdist6 rdist # cd /usr/bin ; ln -s ../local/bin/rdist rdist # notify jhs@localhost ; # If no `@' appears in the name, the destination host is appended to the name. # An item in an except list is merely no longer compared, the target is # not stripped of that item though.