Remove ULG and Uliege accounts

This commit is contained in:
Thomas Dehaeze 2022-02-06 22:15:14 +01:00
parent 1a60a9c9a1
commit dfe44e14af

View File

@ -129,27 +129,23 @@ done
# Count number of mails # Count number of mails
gmail_old="$(ls ~/.mail/gmail/Inbox/new | wc -l)" gmail_old="$(ls ~/.mail/gmail/Inbox/new | wc -l)"
esrf_old="$(ls ~/.mail/esrf/Inbox/new | wc -l)" esrf_old="$(ls ~/.mail/esrf/Inbox/new | wc -l)"
ulg_old="$(ls ~/.mail/ulg/Inbox/new | wc -l)"
uliege_old="$(ls ~/.mail/uliege/Inbox/new | wc -l)"
# ============================================================= # =============================================================
# ============================================================= # =============================================================
# Retreive mails # Retreive mails
mbsync $opt_all $opt_verbose gmail-Home esrf-Home ulg-Home uliege-Home 2>/tmp/mbsync.log mbsync $opt_all $opt_verbose gmail-Home esrf-Home 2>/tmp/mbsync.log
# ============================================================= # =============================================================
# ============================================================= # =============================================================
# Count number of mails # Count number of mails
gmail_new="$(ls ~/.mail/gmail/Inbox/new | wc -l)" gmail_new="$(ls ~/.mail/gmail/Inbox/new | wc -l)"
esrf_new="$(ls ~/.mail/esrf/Inbox/new | wc -l)" esrf_new="$(ls ~/.mail/esrf/Inbox/new | wc -l)"
ulg_new="$(ls ~/.mail/ulg/Inbox/new | wc -l)"
uliege_new="$(ls ~/.mail/uliege/Inbox/new | wc -l)"
# ============================================================= # =============================================================
# ============================================================= # =============================================================
# Total Number of new mails since last checking # Total Number of new mails since last checking
new="$(($gmail_new+$esrf_new+$ulg_new+$uliege_new))" new="$(($esrf_new+$gmail_new))"
old="$(($gmail_old+$esrf_old+$ulg_old+$uliege_old))" old="$(($esrf_old+$gmail_old))"
# ============================================================= # =============================================================
# ============================================================= # =============================================================