LogFAQs > #877149072

LurkerFAQs, Active DB, Database 1 ( 03.09.2017-09.16.2017 ), DB2, DB3, DB4, DB5, DB6, DB7, DB8, DB9, DB10, DB11, DB12, Clear
Topic List
Page List: 1
TopicWould this be easy for a novice to code?
Thunder_54
04/13/17 8:41:49 PM
#7:


NeoSioType posted...
GUI40G1.jpg ------>1
AU640JQ.jpg ------>2
U678FG0.jpg ------>3

All I have to do to find the number-name is number them by line.


I'd suggest changing the format to :

GUI40G1.jpg 1
AU640JQ.jpg 2
U678FG0.jpg 3

It's easier to parse.

Python will make quick work of this job for you.

You'll need to research the file functions and the system functions for dealing with directories/file renaming.

EDIT: although since they're already in order, you don't even really need the number.
---
http://i.imgur.com/Mi1LkTl.jpg
"It's all consensual" - Thunder
... Copied to Clipboard!
Topic List
Page List: 1