Cleanup old files older then 90 days

Hi,

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 : https://manual.seafile.com/maintain/seafile_gc.html which i like to use i can specifie it only throws away file which are deleted more then 90 days ago

Kind Regards
Gerard

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

Here: https://manual.seafile.com/config/seafile-conf.html

Default history length limit (seafile.conf)

[history]
keep_days = days of history to keep
1 Like