From 8eef24bb1b2dc257be2d441ad5ca2e4be5daa610 Mon Sep 17 00:00:00 2001 From: coderkun Date: Wed, 25 Dec 2019 20:55:05 +0100 Subject: [PATCH] Change folder for mail scripts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change the folder mail scripts operate on from “Downloads” to “Dokumente”. --- mail-count.bash | 2 +- mail-notify.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mail-count.bash b/mail-count.bash index 944e91f..2e7ae76 100755 --- a/mail-count.bash +++ b/mail-count.bash @@ -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)" diff --git a/mail-notify.py b/mail-notify.py index f399a3d..21b949d 100755 --- a/mail-notify.py +++ b/mail-notify.py @@ -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