Configuration of file name format possible?

Asked by Steffen on 2011-01-03

I was wondering wether it is possible to format the file names duplicity is creating, specifically the numbering scheme. When looking at the Amazon S3 console the files are sorted by name. As the volumes are numbered 1,2, ... 9,10,11 the displayed order is 1,10,11,12,2,3 ...

I am looking for a way to change that so that the volumes are numbered 0001, 0002, 0003 etc. Is that possible? If not, I would like to raise a low priority feature request.

Steffen

Question information

Language:
English Edit question
Status:
Solved
For:
Duplicity Edit question
Assignee:
No assignee Edit question
Solved by:
edso
Solved:
2011-01-03
Last query:
2011-01-03
Last reply:
2011-01-03
Best edso (ed.so) said : #1

As duplicity does not know how many files it is going to create, there is no elegant solution for this. We could introduce a switch, but I doubt that a mere display sorting issue is worth the trouble. Especially as you might end up with, let's say 2000 parts and defined three leading zeroes, something like this

001
002
...
999
1000
1001

ede/duply.net

On 03.01.2011 09:47, Steffen wrote:
> New question #139985 on Duplicity:
> https://answers.launchpad.net/duplicity/+question/139985
>
> I was wondering wether it is possible to format the file names duplicity is creating, specifically the numbering scheme. When looking at the Amazon S3 console the files are sorted by name. As the volumes are numbered 1,2, ... 9,10,11 the displayed order is 1,10,11,12,2,3 ...
>
> I am looking for a way to change that so that the volumes are numbered 0001, 0002, 0003 etc. Is that possible? If not, I would like to raise a low priority feature request.
>
> Steffen
>
>

Steffen (lassahn) said : #2

Thanks edso, that solved my question.