From 80a2e92265f1ad00983e57c7683142ba3ac473cf Mon Sep 17 00:00:00 2001 From: Frederick Ding Date: Fri, 31 Jul 2015 03:11:04 -0400 Subject: [PATCH] Tiny fixes --- README.md | 2 +- save-attachments.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bf4e24f..1b724b0 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Here's an example for Gmail: ``` poll imap.gmail.com protocol IMAP - user "example@gmail.com" password "testing" + user "example@gmail.com" password "testing" is root here keep mimedecode ssl diff --git a/save-attachments.sh b/save-attachments.sh index 7543468..3dc184c 100755 --- a/save-attachments.sh +++ b/save-attachments.sh @@ -18,7 +18,7 @@ for i in * do echo "[$(date '+%T')] Backing up $i and processing..." cp $i $MAILDIR/cur/ - mkdir $MAILDIR/extracted/$i + mkdir -p $MAILDIR/extracted/$i mv $i $MAILDIR/extracted/$i/ munpack -C $MAILDIR/extracted/$i -q $MAILDIR/extracted/$i/$i