May not be necessary for you to sort - could just be something odd about my files.
See for e.g. the way the files are listed in Diversion option "SF" below: -
Code:
Diversion stats files:
6. Diversion_Stats_Asus-Home_2020-08-07_09.40.txt
7. Diversion_Stats_RT-AC86U_2020-07-22_06.22.txt
8. Diversion_Stats_RT-AC86U_2020-07-25_01.30.txt
9. Diversion_Stats_RT-AC86U_2020-07-27_11.32.txt
10. Diversion_Stats_RT-AC86U_2020-07-28_22.06.txt
11. Diversion_Stats_RT-AC86U_2020-07-30_22.18.txt
12. Diversion_Stats_RT-AC86U_2020-08-01_01.30.txt
The order is correct [most recent at the bottom] - save for the manually generated one using c 2 2
5 in Diversion menus [item 6 above].
To verify I ran another manually generated set of stats - this time using Diversion menu options c 2 2
1 - and this was the result under SF option ...
Code:
Diversion stats files:
6. Diversion_Stats_Asus-Home_2020-08-07_09.40.txt
7. Diversion_Stats_RT-AC86U_2020-07-22_06.22.txt
8. Diversion_Stats_RT-AC86U_2020-07-25_01.30.txt
9. Diversion_Stats_RT-AC86U_2020-07-27_11.32.txt
10. Diversion_Stats_RT-AC86U_2020-07-28_22.06.txt
11. Diversion_Stats_RT-AC86U_2020-07-30_22.18.txt
12. Diversion_Stats_RT-AC86U_2020-08-01_01.30.txt
13. Diversion_Stats_RT-AC86U_2020-08-07_14.37.txt
Note this time no base name change to the newest file. So would expect a regenerate for the Webui to now pick up stats listed 13 above - but it remains stuck on stats listed 12.
The command you gave me provides this output ...
Code:
/usr/bin/find /opt/share/diversion/stats -name "Diversion_Stats*"
/opt/share/diversion/stats/Diversion_Stats_RT-AC86U_2020-07-30_22.18.txt
/opt/share/diversion/stats/Diversion_Stats_RT-AC86U_2020-08-07_14.37.txt
/opt/share/diversion/stats/Diversion_Stats_RT-AC86U_2020-07-28_22.06.txt
/opt/share/diversion/stats/Diversion_Stats_RT-AC86U_2020-07-25_01.30.txt
/opt/share/diversion/stats/Diversion_Stats_RT-AC86U_2020-07-27_11.32.txt
/opt/share/diversion/stats/Diversion_Stats_Asus-Home_2020-08-07_09.40.txt
/opt/share/diversion/stats/Diversion_Stats_RT-AC86U_2020-07-22_06.22.txt
/opt/share/diversion/stats/Diversion_Stats_RT-AC86U_2020-08-01_01.30.txt
Not the correct order - with 2020-08-01 still the "last" entry.
Please NB - No rush from my side - fully aware that you have far more important matters to attend to.
Address it as needs be in your next general update of this awesome Diversion Add-On.
.
I have SSH access to the text stats anyway - as do we all {ThumbsUp}.