On 25-12-2009, at 21h 12'52", Wu, Yue wrote about "Re: How to count new emails
in mbox format mailbox?"
> Thanks, but that's the one part that I want to solve... I'm not familiar with
> sh
> script, the script I use for maildir is the follows:
>
> mailhier=~/.mutt/mails
>
> if [ $(find $mailhie
On 25-12-2009, at 16h 24'34", Christian Ebert wrote about "Re: How to count new
emails in mbox format mailbox?"
>
> find $mailhier -type f -size 0 -exec rm -f \{} \;
>
find $mailhier -empty -exec rm -f \{\} \\\;
Ionel
Hello,
Am 2009-12-25 13:24:03, schrieb Jussi Peltola:
> grep ^From | wc -l
You mean:
grep --regexp="^From " |wc-l
Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linu
* Christian Ebert on Friday, December 25, 2009 at 16:22:34 +
> Ah, you just want to remove empty mailboxes, then perhaps just
>
> save_empty=no
>
> is enough?
>
> Otherwise something like:
>
> # delete all empty file inside $mailhier
> find $mailhier -type f -size 0 -exec rm -f {} \;
That'
* Wu, Yue on Friday, December 25, 2009 at 21:12:52 +0800
> On Fri, Dec 25, 2009 at 11:56:44AM +, Christian Ebert wrote:
>> egrep '^From [-a-za-z0-9@[-a-za-z0-9]+\.[a-za-z0-9]+ [A-Z][a-z]{2}
>> [A-Z][a-z]{2} [ 1-3][0-9] [0-2][0-9]:[0-5][0-9]:[0-5][0-9] [0-9]{4}$' mbox |
>> wc -l
>>
>> But
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
On Wednesday, December 23 at 01:41 PM, quoth Derek Martin:
> On Wed, Dec 23, 2009 at 10:17:57AM -0600, Kyle Wheeler wrote:
>> Now, I'm assuming that you're storing your mbox locally on a standard
>> unix filesystem rather than on an NFS-mount or on
On Fri, Dec 25, 2009 at 11:56:44AM +, Christian Ebert wrote:
> * Christian Ebert on Friday, December 25, 2009 at 11:45:34 +
> > * Wu, Yue on Friday, December 25, 2009 at 13:50:41 +0800
> >> Now I've changed to mbox from maildir, when with maildir, I use a sh
> >> script to
> >> count the n
* Christian Ebert on Friday, December 25, 2009 at 11:45:34 +
> * Wu, Yue on Friday, December 25, 2009 at 13:50:41 +0800
>> Now I've changed to mbox from maildir, when with maildir, I use a sh script
>> to
>> count the number of mails in directory new/ of each of my mails/
>> sub-directory,
>>
* Jussi Peltola on Friday, December 25, 2009 at 13:24:03 +0200
> grep ^From | wc -l
will also catch From: headers.
c
--
Was heißt hier Dogma, ich bin Underdogma!
[ What the hell do you mean dogma, I am underdogma. ]
_F R E E_ _V I D E O S_ --->>> http://www.blacktrash.org/underdogma/
* Wu, Yue on Friday, December 25, 2009 at 13:50:41 +0800
> Now I've changed to mbox from maildir, when with maildir, I use a sh script to
> count the number of mails in directory new/ of each of my mails/
> sub-directory,
> but now I don't know how to achieve it with mbox, any hint will be
> appr
grep ^From | wc -l
On Thu, Dec 24, 2009 at 11:39:03AM -0800, Rem P Roberti wrote:
> On 2009.12.24 14:34:32 +, Patrick Shanahan wrote:
> > * Rem P Roberti [12-24-09 14:32]:
> > >
> > > OK...I think that it was a permissions problem. I screwed around with
> > > the permissions on my /home directory, and somehow
12 matches
Mail list logo