Paul E Condon wrote:
> My suggestion is that the software also rename the earlier backup
> files as follows: In each name, insert the digit zero (0) in front of
> the digit [1-9]. This will preserve the correct display order of the
> backups in a simple invocation of "ls -l" . This will make for a
> more cleanly ordered display up to 99 backups.
Are you aware of the -v sort by version option for ls? This will
usually sort the display as you desire by treating the filenames as
versioned named.
ls -logv
Does that do what you want?
You can read more about version sorting in the ls documentation.
info coreutils 'Sorting the output'
Bob