Current Behavior
As resources are replaced when datasets change versions, if the setting to remove revisions is used, an empty directory is left behind. This leads to significant accumulation of empty resource directories.
Expected Behavior
If resources are removed, the directory that housed them should be removed as well.
Steps To Reproduce
1 Let site run for several years
2 Observe empty resource directories via
- SSH in
cd sites/default/files/resources
- See what will be deleted
find . -type d -empty -print
Relevant log output (optional)
Anything else?
No response
Current Behavior
As resources are replaced when datasets change versions, if the setting to remove revisions is used, an empty directory is left behind. This leads to significant accumulation of empty resource directories.
Expected Behavior
If resources are removed, the directory that housed them should be removed as well.
Steps To Reproduce
1 Let site run for several years
2 Observe empty resource directories via
cd sites/default/files/resourcesfind . -type d -empty -printRelevant log output (optional)
Anything else?
No response