Преглед изворни кода

maxmessages option

tags/v3.1
Luke Smith пре 5 година
родитељ
комит
c2247a2188
No known key found for this signature in database GPG Key ID: 4C50B54A911F6252
1 измењених фајлова са 3 додато и 0 уклоњено
  1. +3
    -0
      bin/mw

+ 3
- 0
bin/mw Прегледај датотеку

@@ -58,6 +58,7 @@ Slave :$title-local:
Patterns * !\"[Gmail]/All Mail\"
Create Both
SyncState *
MaxMessages $maxmes
# End profile
"

@@ -155,6 +156,8 @@ EOF
read -r login
printf "\033[0m"
[ -z "$login" ] && login="$fulladdr"
[ "$accounttype" = "offline" ] && printf "If you want to limit the number of messages kept offline to a number, enter that number below. If you do not want to limit your mail and would like \`mbsync\` to sync all mail, press enter without typing a number.\\n\t" && read -r maxmes
echo "$maxmes" | grep "[1-9]" >/dev/null || maxmes="0"
getpass
getprofiles
mkdir -p "$muttdir" "$accdir" "$cachedir/$title/bodies" "$HOME/.config/msmtp"


Loading…
Откажи
Сачувај