'
echo '
By Date | By Name |
'
find $1 -type f -printf "%P\t%T@\n" |
sort -k2,2nr |
cut -f1 |
#files starting with . | files without a . | files ending in .c .cpp ...
grep -E "(^|/)[.].+|(^|/)[^.]+$|[.](c|cpp|py|sh|rc|tips|fortune|html)$" |
grep -Ev "$exclude_re" |
while read file; do
time=`date --reference="$file" "+%b %e %Y"`
file=`echo "$file" | sed 's/\(.*\)\/index.html/\1\//'`
echo "$time | $file | "
done
echo ' |
'
find $1 -type f -printf "%P\n" |
sed 's#\(.*/.*\)#¬\1#' | #setup to group paths in sort
LANG=C sort |
tr -d ¬ |
#files starting with . | files without a . | files ending in .c .cpp ...
grep -E "(^|/)[.].+|(^|/)[^.]+$|[.](c|cpp|py|sh|rc|tips|fortune|html)$" |
grep -Ev "$exclude_re" |
sed 's/\(.*\)\/index.html/\1\//' |
while read file; do
echo "$file | "
done
echo ' |
'
echo '
'
echo ''
echo '
'
echo 'This sitemap/timeline was generated by
gen_timeline'
echo '