server icon indicating copy to clipboard operation
server copied to clipboard

`occ preview:repair --delete` should not create empty preview folders

Open nickvergessen opened this issue 1 year ago • 0 comments

https://github.com/nextcloud/server/blob/c109ae9437403c5bd17834c2ee53507c1d1f2ad2/core/Command/Preview/Repair.php#L216-L223

Creation should be skipped to speed up the deletion. I was trying to delete my 65k folders and the command ramped up until ~4d run time. Without the get+newFolder it's ~3days.

nickvergessen avatar Oct 11 '24 07:10 nickvergessen