From 8f6f663e74f1ef41fbbfda607ff52e67b728d15d Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 12 Nov 2020 19:41:55 -0300 Subject: Feat: adds alternative getmails wrapper (2) --- getmails-alternative | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/getmails-alternative b/getmails-alternative index 982f7aa..d85753a 100755 --- a/getmails-alternative +++ b/getmails-alternative @@ -7,6 +7,7 @@ # Parameters CONFIG_FOLDER="$HOME/.getmail/config" +GETMAIL="/usr/bin/getmail" # Check if [ ! -d "$CONFIG_FOLDER" ]; then @@ -14,4 +15,4 @@ if [ ! -d "$CONFIG_FOLDER" ]; then fi # Dispatch -ls -1 $CONFIG_FOLDER | grep -v '^oldmail-' | grep '@' | grep -v '.disabled$' | xargs echo | sed -e 's/ / --rcfile /g' | xargs echo getmail --rcfile +ls -1 $CONFIG_FOLDER | grep -v '^oldmail-' | grep '@' | grep -v '.disabled$' | xargs echo | sed -e 's/ / --rcfile /g' | xargs $GETMAIL --rcfile -- cgit v1.2.3