Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #231040
| From | Tixy <tixy@yxit.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Archivemail |
| Date | 2021-01-24 10:00 +0100 |
| Message-ID | <BAJpv-zU-1@gated-at.bofh.it> (permalink) |
| References | <BAe2l-76j-1@gated-at.bofh.it> <BAec2-798-11@gated-at.bofh.it> <BAeOJ-7Aw-3@gated-at.bofh.it> <BAAmd-3At-1@gated-at.bofh.it> <BABBD-4fQ-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sun, 2021-01-24 at 00:31 +0000, Mark Fletcher wrote: > I'm probably going to just write a python3 script of my own to handle my > use-case, which is just to sift through /var/mail/<user> to delete mails > older than a month. Erm, what am I missing, couldn't you do that with a crontab line something like.. 0 1 * * * find /var/mail/ -type f -mtime +30 -delete Or with an -exec option to move and compress them for archival purposes. -- Tixy
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Archivemail Mark Fletcher <mark27q1@gmail.com> - 2021-01-23 00:30 +0100
Re: Archivemail Brian <ad44@cityscape.co.uk> - 2021-01-23 00:40 +0100
Re: Archivemail Mark Fletcher <mark27q1@gmail.com> - 2021-01-23 01:20 +0100
Re: Archivemail Jochen Spieker <ml@well-adjusted.de> - 2021-01-24 00:20 +0100
Re: Archivemail Mark Fletcher <mark27q1@gmail.com> - 2021-01-24 01:40 +0100
Re: Archivemail Tixy <tixy@yxit.co.uk> - 2021-01-24 10:00 +0100
Re: Archivemail Teemu Likonen <tlikonen@iki.fi> - 2021-01-24 10:40 +0100
Re: Archivemail Charles Curley <charlescurley@charlescurley.com> - 2021-01-25 00:50 +0100
Re: Archivemail Teemu Likonen <tlikonen@iki.fi> - 2021-01-25 06:50 +0100
Re: Archivemail Jochen Spieker <ml@well-adjusted.de> - 2021-01-24 21:50 +0100
Re: Archivemail Keith Bainbridge <ke1thozgroups@gmx.com> - 2021-01-25 03:30 +0100
Re: Archivemail Stefan Monnier <monnier@iro.umontreal.ca> - 2021-01-25 04:30 +0100
Re: Archivemail Anssi Saari <as@sci.fi> - 2021-01-25 07:30 +0100
Re: Archivemail Andrei POPESCU <andreimpopescu@gmail.com> - 2021-01-25 07:50 +0100
Re: Archivemail Keith Bainbridge <ke1thozgroups@gmx.com> - 2021-01-25 12:50 +0100
Re: Archivemail Jochen Spieker <ml@well-adjusted.de> - 2021-01-25 21:50 +0100
Re: Archivemail Eduard Bloch <edi@gmx.de> - 2021-01-25 22:00 +0100
csiph-web