Change folder for mail scripts

Change the folder mail scripts operate on from “Downloads” to
“Dokumente”.
This commit is contained in:
coderkun 2019-12-25 20:55:05 +01:00
parent daffb80084
commit 8eef24bb1b
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash
# Settings
MAILDIRNEW="$HOME/Downloads/Mail/*/INBOX/new/"
MAILDIRNEW="$HOME/Dokumente/eMails/*/INBOX/new/"
# Count new mails
MAILNEW="$(find $MAILDIRNEW -type f | wc -l)"

View File

@ -220,8 +220,8 @@ def main():
parser.add_argument(
'-m', '--maildir',
action='store', dest='maildir',
default='~/Downloads/Mail/*/INBOX/new/',
help="Glob-style pattern of directory to check for new mails, default is ~/Downloads/Mail/*/INBOX/new/"
default='~/Dokumente/eMails/*/INBOX/new/',
help="Glob-style pattern of directory to check for new mails, default is ~/Dokumente/eMails/*/INBOX/new/"
)
# Parse arguments