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