Change folder for mail scripts
Change the folder mail scripts operate on from “Downloads” to “Dokumente”.
This commit is contained in:
parent
daffb80084
commit
8eef24bb1b
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Settings
|
# Settings
|
||||||
MAILDIRNEW="$HOME/Downloads/Mail/*/INBOX/new/"
|
MAILDIRNEW="$HOME/Dokumente/eMails/*/INBOX/new/"
|
||||||
|
|
||||||
# Count new mails
|
# Count new mails
|
||||||
MAILNEW="$(find $MAILDIRNEW -type f | wc -l)"
|
MAILNEW="$(find $MAILDIRNEW -type f | wc -l)"
|
||||||
|
|
|
@ -220,8 +220,8 @@ def main():
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'-m', '--maildir',
|
'-m', '--maildir',
|
||||||
action='store', dest='maildir',
|
action='store', dest='maildir',
|
||||||
default='~/Downloads/Mail/*/INBOX/new/',
|
default='~/Dokumente/eMails/*/INBOX/new/',
|
||||||
help="Glob-style pattern of directory to check for new mails, default is ~/Downloads/Mail/*/INBOX/new/"
|
help="Glob-style pattern of directory to check for new mails, default is ~/Dokumente/eMails/*/INBOX/new/"
|
||||||
)
|
)
|
||||||
|
|
||||||
# Parse arguments
|
# Parse arguments
|
||||||
|
|
Loading…
Reference in a new issue