Archive maildir

@lbutlr kremels at kreme.com
Thu Feb 14 03:04:04 EET 2019


On 13 Feb 2019, at 11:10, Peter Chiochetti via dovecot <dovecot at dovecot.org> wrote:
> ls | while read F; do echo $F; T=$(echo $F | cut -c 1-10); D=$(date --date="@$T" "+../../.Archive.%Y-%m/cur"); echo $D; done

Perfect!

(change date to gdate if your system is BSD based and your gnu tools are prefix with 'g')


-- 
You know a thorn can main / But a lover does the same / A gem will
reflect light / And a Fool will marvel at the sight / A fool such as me,
/Who sees not the gold, but the beauty of the shine



More information about the dovecot mailing list