email:archive_old_emails
Differences
This shows you the differences between two versions of the page.
email:archive_old_emails [2017/03/09 15:46] – created peter | email:archive_old_emails [2019/11/27 21:46] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Email - Archive old emails ====== | ||
- | To archive old emails, for instance those emails older than 2 years: | ||
- | |||
- | <code bash> | ||
- | (CD current/ && find . -mtime +732 -print0) | rsync -ag –remove-source-files –files-from=- –from0 ./ | ||
- | </ | ||
- | |||
- | |||
- | This will recursively go through all directories in the current_maildirs_location, |
email/archive_old_emails.1489074397.txt.gz · Last modified: 2020/07/15 09:30 (external edit)