matze77 has asked for the wisdom of the Perl Monks concerning the following question:
I dont know where to start,~/Maildir/.MailingList/cur Here are all Mails from years 2005 till 2008 I want to move the Mails from here to Maildir.subfolder 2008: ~/Maildir/MailingList.2008/cur$ for each mail X in current dir do if date of file contains "2008" M X { mv X ~/Maildir/MailingList.2008/cur$ } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: moving files in a dir (Maildir) depending on Date
by oko1 (Deacon) on Nov 26, 2008 at 23:41 UTC | |
by matze77 (Friar) on Nov 30, 2008 at 10:32 UTC | |
|
Re: moving files in a dir (Maildir) depending on Date
by afresh1 (Hermit) on Nov 27, 2008 at 04:06 UTC | |
by matze77 (Friar) on Nov 27, 2008 at 09:30 UTC | |
|
Re: moving files in a dir (Maildir) depending on Date
by toolic (Bishop) on Nov 26, 2008 at 22:30 UTC |