Cleanup webdavtmp Files

Hi,

our webdavtmp located under /seafile/seafile-data/webdavtmp gets bigger and bigger.
We have a lot of old files created Weeks or even Months ago.
Is it save to delete them on a regular schedule?

Thank you very much!

@daniel.pan any hint form you?

You can delete them. I suspect some webdav uploads were aborted and due to that the tmp files remain.

To automate it you can run something like the following in a cronjob:

# deletes files being at least 2 days old
# run without -delete to test it, first
find /seafile/seafile-data/webdavtmp/ -type f -mtime +2 -delete

@shoeper cool! thank you very much.
I wish you Happy Holidays