I sometimes receive a series of jpegs which have been wrongly numbered.
The series comes with a DESCRIPT.ION file that describes the file by using the correct sequence number, but there are no leading zeros.
I would like to sort the files using the DESCRIPT.ION entry but the sort needs to be done in natural number order. For example, where "5" comes before "10". Is this possible?
Natural number sorting in DESCRIPT.ION field?
Moderators: white, Hacker, petermad, Stefan2
- ghisler(Author)
- Site Admin
- Posts: 48118
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Natural number sorting in DESCRIPT.ION field?
Not directly. You would probably have to do it in two steps:
1. Rename the files with the[=tc.comment] field
2. Sort them in natural order (Configuration - Options - Display)
3. Rename them again using the counter field.
1. Rename the files with the[=tc.comment] field
2. Sort them in natural order (Configuration - Options - Display)
3. Rename them again using the counter field.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Natural number sorting in DESCRIPT.ION field?
Or open the DESCRIPT.ION file in a text editor and add the leading zeros yourself.