
lists-qmail at maexotic
Nov 24, 2009, 12:24 AM
Post #4 of 4
(1171 views)
Permalink
|
On Tue, Nov 24, 2009 at 03:50:59PM +0800, packets wrote: > I implement safecat so that I can create another copy of emails outside > Maildir directory. I want to create a script wherein it will tar all files > if the file was receive lets say November. All emails received last October > will not be included on tar. You may want to look at the GNU tar -N/--newer/--after-date options. They allow to specify "DATE" as (from "info tar"): * Calendar date items:: 19 Dec 1994. * Time of day items:: 9:20pm. * Time zone items:: EST, PDT, GMT. * Day of week items:: Monday and others. * Relative items in date strings:: next tuesday, 2 years ago. * Pure numbers in date strings:: 19931219, 1440. * Seconds since the Epoch:: @1078100502. \Maex
|