#!/bin/bash # Procmail is set up to always write incoming mail to a folder # named by month (i.e. archive/2002-05). Pine can't do that with # FCC so I keep a softlink to the current archive. This script # is run by a cron job to update that link. DATESTAMP=`date +%Y-%m` cd ~/mail/archive ln -sf $DATESTAMP current