summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/get-sdf-mail4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/get-sdf-mail b/bin/get-sdf-mail
index b37c0fac..eff9d5eb 100755
--- a/bin/get-sdf-mail
+++ b/bin/get-sdf-mail
@@ -10,3 +10,7 @@ ssh spw@tty.sdf.org mv /var/mail/spw /sdf/arpa/ns/s/spw/tmp/mbox.$uuid
scp spw@tty.sdf.org:tmp/mbox.$uuid $HOME/tmp/mbox.$uuid
mb2md -s $HOME/tmp/mbox.$uuid -d $HOME/.fmail/inbox
echo "I: after confirming the insert succeeded, rm ~/tmp/mbox.$uuid, and on SDF"
+
+# TODO ask user to confirm number of messages inserted (mb2md prints
+# this number) and then if they answer yes, delete the local and
+# remote copies