8 lines
282 B
Bash
Executable file
8 lines
282 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
for a in waarp; do
|
|
echo "Début de la synchronisation"
|
|
mbsync gmail-$a && echo "Synchronisation effectuée" || echo "Erreur de syncheronisation" >&2
|
|
echo mailboxes $(mbsync -l gmail-$a | sed -e 's|\(.*\)|"+\1"|') > ~/.config/mutt/$a.mailboxes
|
|
done
|
|
|