We now delete empty directories in the trash when an item is purged or restored. This prevents old empty directories from slowing down the globbing of trash items.
I'll add an ocis cli cmd to clean up existing trash directories.find /var/lib/ocis/storage/users/*/*/trash/* -type d -empty -delete
We now delete empty directories in the trash when an item is purged or restored. This prevents old empty directories from slowing down the globbing of trash items.
I'll add an ocis cli cmd to clean up existing trash directories.find /var/lib/ocis/storage/users/*/*/trash/* -type d -empty -delete