EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  <19971998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  <19971998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: European Documentation Mirror
From: Ralph Lange <[email protected]>
To: [email protected] (EPICS Tech-Talk)
Date: Tue, 26 Aug 1997 19:26:19 +0200 (METDST)
BESSY's web site now mirrors (most of) the EPICS documentation located at
the APS and LANL web sites. This includes:

+ All documents mentioned in APS's "EPICS Documentation" page
+ Hypertext versions of the SNL and Record Reference Manual from LANL

Not included are:

- Software distribution
- SDDS and other tools documentation
- Listserver Archives stuff

The mirror is updated daily at 6am European time, i.e. 11pm/10pm US time,
which I assume to be after working hours ;-)

Mirroring is done by a cron job using GNU's wget tool. (Thanks to Bill
McDowell @ APS for his support.) I attach the cron-started script in case
someone wants to fill up empty disk space (mirror needs ~ 45MB).

Regards,
Ralph
-- 
      __  Ralph Lange                         Email:       [email protected] 
     /\ \                                     WWW: http://www.bessy.de/~lange
    /  \ \  BESSY II                          
   / /\ \ \  Berliner Elektronenspeicherring- Snail:                 BESSY II
  / / /\ \ \  Gesellschaft fuer Synchrotron-               Rudower Chaussee 5
 / / /__\_\ \  strahlung m.b.H.                       D-12489 Berlin, Germany
/ / /________\                                Phone:         +49 30 6392-4862
\/___________/ Control System Group           Fax:                ...   -4859
#!/bin/sh
#         Perl? What Perl?
#                                                    -*-Mode: shell-script;-*-
# fetch_epics_doc
# Script to fetch mirrored Web pages using GNU wget
#
# Author: Ralph Lange      Date: 26 Aug 1997
#
# To make the relative links work, one has to set up links in the base directory of the
# mirror web server like this:
# aot8 -> <whereever_you_keep_the_mirrors>/www.atdiv.lanl.gov/aot8/
# asd ->  <whereever_you_keep_the_mirrors>/www.aps.anl.gov/asd/

# <whereever_you_keep_the_mirrors>
mirrors=/opt/csr/doc/mirrors

# paths to some tools (cron sets just a minimal environment)
gzip=/usr/contrib/bin/gzip
gunzip=/usr/contrib/bin/gunzip
tar=/opt/tar/bin/tar
wget=/opt/wget/bin/wget

log_arch=logfiles
datecode=`date +%y-%m-%d`

cd $mirrors
umask 022

# Add old logfiles to log archive

$gunzip $log_arch.tar.gz
$tar -rf $log_arch.tar log_* && rm -f log_*
$gzip $log_arch.tar


# From APS's EPICS server:
# All Documentation pages

$wget -m -k -o log_APS.$datecode -I /asd/controls/epics/images,/asd/controls/epics/EpicsDocumentation http://www.aps.anl.gov/asd/controls/epics/EpicsDocumentation


# From LANL's EPICS server:
# Record reference manual and SNL manual

$wget -np -m -k -o log_LANL.$datecode http://www.atdiv.lanl.gov/aot8/epics/dbase/recref/rcrf-1.html http://www.atdiv.lanl.gov/aot8/epics/sequencer/snl.html


# Patch APS pages to point to local copy of LANL stuff

for file in `find . -name "*.html" | xargs grep -l "www\.atdiv\.lanl\.gov"`
do
    rm -f $file.ORI
    mv $file $file.ORI
    sed -e 's|http://www.atdiv.lanl.gov/aot8/epics/dbase/recref/|/aot8/epics/dbase/recref/|g' \
        -e 's|http://www.atdiv.lanl.gov/aot8/epics/sequencer/|/aot8/epics/sequencer/|g' \
	< $file.ORI > $file
    touch -r $file.ORI $file
done


Navigate by Date:
Prev: Re: Alarm handler question Ned Arnold
Next: Re: tcl/tk , tcl-dp and blt which and where? Bakul Banerjee
Index: 1994  1995  1996  <19971998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Booting lots of diskless VxWorks clients Brett M. Kettering
Next: EuroEPICS Agenda Bob Dalesio
Index: 1994  1995  1996  <19971998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·