I'm trying to rename a large number of files that are numbered sequentially as such
1
2
3
...
9
10
11
...
99
100
101
...
999
1000
1001
etc
etc
Anyways, when the sort by Name option is chosen it reorders them to:
1
10
100
1000
101
102
...
109
11
110
111
112
...
119
12
etc
etc
I should note that I am running CFD on a different comp, to which I have limited physical access, which outputs the files sequentially. In order to process the files I need to transfer them to my computer, so I use a P2P interface (retroshare for those interested). The files transfer in haphazard order which makes it useless to sort by date created/modified. There are only two workarounds that I see.
The first is to implement a "pad to 'x' places " feature. For example, if we pad to 2 places, 1 becomes 01 while 10 stays 10. Padding to 3 places would create 001 and 010 respectively. Then I could resort by name and do my stuff.
The second is to "more smartly" sort numbers so that 1000 is seen to be larger than 1:999.
If there is already a workaround for my problem, would someone please inform me, it would be most appreciated.