3 # This is a sample script that shows how to update the timestamps
4 # file. Note that you have to run the getstamps.py program in your
5 # source directory, and then move the generated timestamps file to the
6 # directory where your published entries are kept.
8 # Blog entries in Muse format
9 SRC_DIR
=/stuff
/proj
/wiki
/blog
11 # Published blog entries
12 DEST_DIR
=$PWD/site
/blog
14 # Path to the getstamps.py script
15 GETSTAMPS
=$PWD/scripts
/getstamps.py
17 # Update timestamps for blog
18 (cd $SRC_DIR && python
$GETSTAMPS && mv timestamps
$DEST_DIR/timestamps
)