added latency tool
[tridge/junkcode.git] / wdocs.sh
1 #!/bin/bash
2
3 mkdir -p documents/word
4 mkdir -p documents/other
5
6 for f in $*; do
7     if `grep MSWordDoc $f > /dev/null`; then
8         fname=`basename $f`
9         echo documents/word/$fname
10         ln $f documents/word/$fname
11     else
12         fname=`basename $f`
13         echo documents/other/$fname
14         ln $f documents/other/$fname
15     fi
16 done