root-gg / plik

Plik is a temporary file upload system (Wetransfer like) in Go.

Home Page:https://plik.root.gg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Folders not being deleted

pieterhouwen opened this issue · comments

Hello,

When the system is purging old uploads it removes the files themselves but not the containing folder resulting in many many empty folders in the files directory.

How can this be fixed?

I can cd into the files directory and do a rmdir * so it will keep all the folders containing files but a better solution would be that the system does that for me :)

Taking a look