cs3org / reva

WebDAV/gRPC/HTTP high performance server to link high level clients to storage backends
https://reva.link
Apache License 2.0
165 stars 113 forks source link

clean empty trash node path on delete #4700

Closed butonic closed 1 month ago

butonic commented 1 month ago

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