Github messages for mblaze
 help / color / mirror / Atom feed
* [PR PATCH] Document a reasonable practice for deleting mails
@ 2023-03-30 14:11 hills
  2023-03-30 14:20 ` leahneukirchen
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: hills @ 2023-03-30 14:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 323 bytes --]

There is a new pull request by hills against master on the mblaze repository

https://github.com/hills/mblaze master
https://github.com/leahneukirchen/mblaze/pull/237

Document a reasonable practice for deleting mails
Discussed in #236.

A patch file from https://github.com/leahneukirchen/mblaze/pull/237.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-237.patch --]
[-- Type: text/x-diff, Size: 803 bytes --]

From 6fbc7ff488c341c19c8cb73ed4c73d8c780d6e3b Mon Sep 17 00:00:00 2001
From: Mark Hills <mark@xwax.org>
Date: Thu, 30 Mar 2023 15:07:05 +0100
Subject: [PATCH] Document a reasonable practice for deleting mails

Discussed in #236.
---
 man/mblaze.7 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/man/mblaze.7 b/man/mblaze.7
index 328bcef..47d0efa 100644
--- a/man/mblaze.7
+++ b/man/mblaze.7
@@ -163,6 +163,9 @@ thread it and look at it interactively:
 Or you could list the attachments of the 20 largest messages in your INBOX:
 .Dl mlist ~/Maildir/INBOX | msort -S | tail -20 | mshow -t
 .Pp
+Or delete messages beyond a certain age:
+.Dl mlist ~/Maildir/INBOX | mpick -t 'mtime < \&"365d\&"' | xargs rm
+.Pp
 Or apply the patches from the current message:
 .Dl mshow -O . '*.diff' | patch
 .Pp

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Document a reasonable practice for deleting mails
  2023-03-30 14:11 [PR PATCH] Document a reasonable practice for deleting mails hills
@ 2023-03-30 14:20 ` leahneukirchen
  2023-03-30 14:23 ` [PR PATCH] [Updated] " hills
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: leahneukirchen @ 2023-03-30 14:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 161 bytes --]

New comment by leahneukirchen on mblaze repository

https://github.com/leahneukirchen/mblaze/pull/237#issuecomment-1490394151

Comment:
`-` missing before 365d.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PR PATCH] [Updated] Document a reasonable practice for deleting mails
  2023-03-30 14:11 [PR PATCH] Document a reasonable practice for deleting mails hills
  2023-03-30 14:20 ` leahneukirchen
@ 2023-03-30 14:23 ` hills
  2023-03-30 14:26 ` hills
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: hills @ 2023-03-30 14:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 328 bytes --]

There is an updated pull request by hills against master on the mblaze repository

https://github.com/hills/mblaze master
https://github.com/leahneukirchen/mblaze/pull/237

Document a reasonable practice for deleting mails
Discussed in #236.

A patch file from https://github.com/leahneukirchen/mblaze/pull/237.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-237.patch --]
[-- Type: text/x-diff, Size: 804 bytes --]

From 0030a3518eb53a04b3ee4246f1f9fb08b0c4120c Mon Sep 17 00:00:00 2001
From: Mark Hills <mark@xwax.org>
Date: Thu, 30 Mar 2023 15:07:05 +0100
Subject: [PATCH] Document a reasonable practice for deleting mails

Discussed in #236.
---
 man/mblaze.7 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/man/mblaze.7 b/man/mblaze.7
index 328bcef..da2aebf 100644
--- a/man/mblaze.7
+++ b/man/mblaze.7
@@ -163,6 +163,9 @@ thread it and look at it interactively:
 Or you could list the attachments of the 20 largest messages in your INBOX:
 .Dl mlist ~/Maildir/INBOX | msort -S | tail -20 | mshow -t
 .Pp
+Or delete messages beyond a certain age:
+.Dl mlist ~/Maildir/INBOX | mpick -t 'mtime < \&"-365d\&"' | xargs rm
+.Pp
 Or apply the patches from the current message:
 .Dl mshow -O . '*.diff' | patch
 .Pp

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Document a reasonable practice for deleting mails
  2023-03-30 14:11 [PR PATCH] Document a reasonable practice for deleting mails hills
  2023-03-30 14:20 ` leahneukirchen
  2023-03-30 14:23 ` [PR PATCH] [Updated] " hills
@ 2023-03-30 14:26 ` hills
  2023-03-30 14:36 ` leahneukirchen
  2023-03-30 14:36 ` [PR PATCH] [Merged]: " leahneukirchen
  4 siblings, 0 replies; 6+ messages in thread
From: hills @ 2023-03-30 14:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 393 bytes --]

New comment by hills on mblaze repository

https://github.com/leahneukirchen/mblaze/pull/237#issuecomment-1490403108

Comment:
> `-` missing before 365d.

Doh, sorry. I accidentally deleted it wrangling the escaping of the double quotes. I've replaced the patch.

Now might be a good time to ask why the double quotes are necessary? The nesting of quotes makes things a little untidy.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Document a reasonable practice for deleting mails
  2023-03-30 14:11 [PR PATCH] Document a reasonable practice for deleting mails hills
                   ` (2 preceding siblings ...)
  2023-03-30 14:26 ` hills
@ 2023-03-30 14:36 ` leahneukirchen
  2023-03-30 14:36 ` [PR PATCH] [Merged]: " leahneukirchen
  4 siblings, 0 replies; 6+ messages in thread
From: leahneukirchen @ 2023-03-30 14:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 177 bytes --]

New comment by leahneukirchen on mblaze repository

https://github.com/leahneukirchen/mblaze/pull/237#issuecomment-1490419713

Comment:
mpick design questions go to @Duncaen ;)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PR PATCH] [Merged]: Document a reasonable practice for deleting mails
  2023-03-30 14:11 [PR PATCH] Document a reasonable practice for deleting mails hills
                   ` (3 preceding siblings ...)
  2023-03-30 14:36 ` leahneukirchen
@ 2023-03-30 14:36 ` leahneukirchen
  4 siblings, 0 replies; 6+ messages in thread
From: leahneukirchen @ 2023-03-30 14:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 189 bytes --]

There's a merged pull request on the mblaze repository

Document a reasonable practice for deleting mails
https://github.com/leahneukirchen/mblaze/pull/237

Description:
Discussed in #236.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-03-30 14:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-30 14:11 [PR PATCH] Document a reasonable practice for deleting mails hills
2023-03-30 14:20 ` leahneukirchen
2023-03-30 14:23 ` [PR PATCH] [Updated] " hills
2023-03-30 14:26 ` hills
2023-03-30 14:36 ` leahneukirchen
2023-03-30 14:36 ` [PR PATCH] [Merged]: " leahneukirchen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).