Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Empty a folder from command line.

    Kopano Groupware Core
    1
    1
    182
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mcostan
      mcostan last edited by mcostan

      Good morning,

      Is there any way to empty a folder “say Contacts” from the command line, without using webapp?

      The answer is kopano python and particularly the empty function.

      This works, except, it takes forever as presumably it goes through every single item and moves it to the deleted folder.

      Is there any way even in kopano python to simply truncate the contents of a particular folder, essentially drop forever its contents.

      in a way that is fast and doesn’t require the server to move all stuff around.

      pretty much like deleting a user which takes one second, and then you can remove the store.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post