scripts: increase search list size
This commit is contained in:
parent
f6acbdf28f
commit
f3955f58de
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ case $1 in
|
||||||
a=0
|
a=0
|
||||||
for acc in $(NO_COLOR=1 $bin accounts | grep imap | awk '{ print $1 }')
|
for acc in $(NO_COLOR=1 $bin accounts | grep imap | awk '{ print $1 }')
|
||||||
do
|
do
|
||||||
a=$((a+$($bin -a "$acc" search unseen | grep '✷' | wc -l)))
|
a=$((a+$($bin -a "$acc" search unseen -s 200 | grep '✷' | wc -l)))
|
||||||
done
|
done
|
||||||
echo $a
|
echo $a
|
||||||
;;
|
;;
|
||||||
|
@ -31,7 +31,7 @@ case $1 in
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"mark-read")
|
"mark-read")
|
||||||
for id in $(NO_COLOR=1 $bin -a $2 search unseen | grep '✷'| awk '{ print $1 }')
|
for id in $(NO_COLOR=1 $bin -a $2 search unseen -s 200 | grep '✷'| awk '{ print $1 }')
|
||||||
do
|
do
|
||||||
$bin -a $2 flag add $id seen
|
$bin -a $2 flag add $id seen
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue