Cleanup old files older then 90 days


Does anybody know i can use the seaf-gc script to only throw away the file which are deleted longer then 3 months ago.

I see a nice script in the manual : which i like to use i can specifie it only throws away file which are deleted more then 90 days ago

Kind Regards

You can set the history days for each library. If you run the gc, everything that is older than the defined days will be deleted - Trash and History.

1 Like

Tnx for your solution!

But do you know what the defaults are resp. where i can set the default value for every new user ??

Kind Regards


Default history length limit (seafile.conf)

keep_days = days of history to keep
1 Like