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: sheep, Hacker, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 38438
- 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
http://www.ghisler.com
http://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.
Inofficial FAQs || WIKI (Deu/Eng) || TC Home (What's new? // FAQ // Download // Order // Addons // Tools // Plugins)
Erst wenn der letzte Baum gefällt oder die letzte Biene verendet ist, werden die Leute verstehen warum Umweltschutz wichtig ist.
Erst wenn der letzte Baum gefällt oder die letzte Biene verendet ist, werden die Leute verstehen warum Umweltschutz wichtig ist.