NEW: For a prettier blog interface, see the Wordpress version!
~/.diary schedule
Tasks
Priorities - A: high, B: medium, C: low; Status - _: unfinished, X: finished, C: cancelled, P: pending, o: in progress, >: delegated. Covey quadrants - Q1 & Q3: urgent, Q1 & Q2: important
| B1 | X | Set up Emacs on Windows (TaskPool) |
| B2 | X | Check out EmacsWiki#RecentChanges from 2004.11.07 |
| B | X | Set up automatic timestamping and thumbnailing for my pictures |
Notes
2. Diane's photobucket: 13:28
Categories: None -- Permalink
1. My timestamping/thumbnailing script: 09:50
Categories: None -- Permalink
#!/bin/bash
while [ -n "$1" ]; do
if [ -f $1 ]; then
DATE=$(date +"%Y%m%d-%H%M%S" --reference="$1")
EXT=$(echo "$1" | sed 's/.*\././')
DEST="$DATE$EXT"
echo $1
cp $1 "$DEST"
cp "$DEST" "thumb-$DEST"
touch --reference="$1" "$DEST"
if [ "$EXT" == ".jpg" ]; then
convert -size 640x480 -resize 640x480 "$DEST" "thumb-$DEST"
touch --reference="$1" "thumb-$DEST"
fi
fi
shift
done
Must write
I'd love to hear about any questions, comments, suggestions or links that you might have. Your comments will not be posted on this website immediately, but will be e-mailed to me first. You can use this form to get in touch with me, or e-mail me at sacha@sachachua.com .