initial commit v1.0
This commit is contained in:
13
ezmlm-export-subscribers.sh
Executable file
13
ezmlm-export-subscribers.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd $(dirname $0)
|
||||
|
||||
DIR="$(grep ^DIR config.conf | awk -F= '{ print $2 }')"
|
||||
EXPORT="$(grep ^EXPORT config.conf | awk -F= '{ print $2 }')"
|
||||
DESC="$(grep ^DESC config.conf | awk -F= '{ print $2 }')"
|
||||
|
||||
echo "$DESC" > $EXPORT
|
||||
echo "" >> $EXPORT
|
||||
/usr/local/bin/ezmlm-list "$DIR" >> $EXPORT
|
||||
echo "" >> $EXPORT
|
||||
echo "Stand: $(date +%d.%m.%Y-%H:%M:%S) Uhr" >> $EXPORT
|
||||
Reference in New Issue
Block a user