syncthing / syncthing/syncthing

Trashcan max size option

Open
#9,581 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
88.8k
Forks
5.5k
Avg merge
2d 10h
Merged PRs (30d)
5

Description

Feature description

Thank you for making Syncthing.
I love it. It is the only free tool that lets me sync folders from android to PC/server.
I am using it to move my Signal backups to my server, they are generated each night as new file and newest two files are kept.
I need some form of file versioning but none fits my needs.
Easiest change would be a setting for the Trash Can File Versioning to delete oldest files if a set size limit is reached.

Problem or use case

Currently I am only able to set number of days old versions are kept. With daily backups this is a huge size quickly. But when my phone stops pushing backups I don't want Syncthing to delete old versions.

Alternatives or workarounds

idk

also it would be great to have a file size info in the File Versioning tile of each folder

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the Trash Can File Versioning setting and its current age-based retention behavior. Determine where a maximum-size limit would fit, how oldest files should be removed without deleting versions during backup inactivity, and how the File Versioning tile could expose size information; done means the requested retention behavior and size display are specified and tested.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.