How can i do that?

for example i am using find /home/vmail/ -mtime +14 that showme files
older than 14 days, but, how can i look for the " where the modify
timestamp of new and cur is older than 6"


thanks.


> There is no such command, but it's easy to emulate:
>
> do a find on your popserver for all directories for which the oldest
> file in the subdir "new" is older than 6 months, or if that subdir is
> empty: where the modify timestamp of new and cur is older than 6
> months (best to do in perl). This will give you a list of maildirs that
> you can map to accounts to delete. I have such a script lying around
> somewhere but I can't dig it up right now ...
>
> Franky
>
> On Mon, 16 Jun 2003 04:10:49 -0500 (CDT)
> [EMAIL PROTECTED] wrote:
>
>> Hi all, is therea way to delete accounts older than X date?
>>
>> something like the vdelolduser command on vpopmail?
>>
>> what i want is to delete all the accounts that have not been used fore
>> more than 6 months for example.
>>
>>
>> regards.
>>
>>
>>
>>
>>
>>
>
>
>

Reply via email to