Is there a way to control folder sharding length?

Hi, just wondering if restic have a setting for folder sharding length?

At the default the folder length is 2 under data folder, and total folder numbers about 261 in a repo I think.

I some situations I would want to have fewer folders for really small repo, say just length 1 and maybe max say 36 folders or even less inside data folder. Or even sharding length 0 with a totally flat folder structure.

The folder sharding is currently not configurable.

1 Like