You can do a simple find based on age:

find $HOME/.purple/logs -name *.txt -cmin +3600 --delete

That would delete any log file that was changed over an hour ago

On Sat, Jul 11, 2009 at 5:16 AM, James . <[email protected]> wrote:

> On Thu, Jul 9, 2009 at 11:36 PM, Daniel Atallah<[email protected]> wrote:
> > On Thu, Jul 9, 2009 at 4:15 AM, James .<[email protected]> wrote:
> >> Does pidgin automatically delete logs that are too large (say > 4mb)?
> >> This would be a handy feature (and msn does this too).
> >>
> >
> > There is no way to do this automatically within Pidgin.
> >
> > A plugin could do this, but it isn't particularly likely that you'll
> > get large log files with the way that logging works (you get a new
> > file for each conversation).  In several years of logging, I don't
> > have any files that are larger than 4 megabytes.
> >
> > -D
> >
>
> Oh, okay. But then the problem still remains, does pidgin delete logs
> at all? Here's the issue: I want to keep my logs from taking up
> infinite amounts of space, but at the same time, i dont want to delete
> them all in 1 go when they get too large, but rather, the oldest ones
> first. Is that possible?
>
> _______________________________________________
> [email protected] mailing list
> Want to unsubscribe?  Use this link:
> http://pidgin.im/cgi-bin/mailman/listinfo/support
>
_______________________________________________
[email protected] mailing list
Want to unsubscribe?  Use this link:
http://pidgin.im/cgi-bin/mailman/listinfo/support

Reply via email to