kopano-cleanup.py with subfolders



  • Hello,

    at my kopano server some users dropped subfolders into the wastebasket. These subfolders wasn’t cleaned up by the tool kopano-cleanup.py.

    I added two new options to the script:

    –recursive
    walk through subfolders recursively and delete all items, which are older then xx days. If a subfolder is empty, it is deleted completely. This option doesn’t work together with option –archive.

    –sent
    delete items from the “sent” folder

    Perhaps you’ll find my extension usesfull and push it into bitbucket (i have no user to create a pull request). Here is a link to my branch: https://github.com/bi-tm/kopano-cleanup

    Regards
    Torsten



  • @torsten17
    Many thanks for your script. I love it.


Log in to reply