summaryrefslogtreecommitdiff
path: root/bin/get-sdf-mail
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2017-09-14 18:08:12 -0700
committerSean Whitton <spwhitton@spwhitton.name>2017-09-14 18:08:12 -0700
commit23b2e98732605d085b2a6939a31a2701b6bf85a9 (patch)
treea1e6adca81bfababea0effe1c2f66f5ad93687b9 /bin/get-sdf-mail
parentc440306978469863c7785c0be755e3fb2a8c4666 (diff)
downloaddotfiles-23b2e98732605d085b2a6939a31a2701b6bf85a9.tar.gz
TODO
Diffstat (limited to 'bin/get-sdf-mail')
-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