summaryrefslogtreecommitdiff
path: root/bin/get-sdf-mail
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2019-11-22 16:44:29 -0700
committerSean Whitton <spwhitton@spwhitton.name>2019-11-22 16:44:29 -0700
commit5360e42c5a99bad9fcdfe0a255c05e3e343d90de (patch)
tree18a489f828d038e5636992cb1113534d34f26885 /bin/get-sdf-mail
parentd6ff590636d5fd191b15f7e9ccf0e72bd8255ed1 (diff)
downloaddotfiles-5360e42c5a99bad9fcdfe0a255c05e3e343d90de.tar.gz
automate some more of get-sdf-mail
Diffstat (limited to 'bin/get-sdf-mail')
-rwxr-xr-xbin/get-sdf-mail6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/get-sdf-mail b/bin/get-sdf-mail
index eff9d5eb..3ab91dec 100755
--- a/bin/get-sdf-mail
+++ b/bin/get-sdf-mail
@@ -9,8 +9,8 @@ uuid=$(date +%s)
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"
+ssh sdf rm tmp/mbox.$uuid
+echo "I: after confirming the insert succeeded, rm ~/tmp/mbox.$uuid"
# 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
+# this number) and then if they answer yes, delete the local copy