#!/bin/bash

set -e

set -u

pushd $HOME/worklog 

cp projects all/
rm -f all/time*

for dir in ~/worklog/2*.*; do
  echo $dir; 
  pushd $dir; 
  for f in time.log.*; do 
    echo $f; 
    cat $f >> ../all/$f; 
  done;
  popd;
done

./all/get-summary.exp

cat all/time.log

popd
