(Elementary user)
Please consider the following example files:
12345_apple_small_red_40.jpg
98765_pear_big_green_50.jpg
The file name contains information (tokens) that describes the JPG image like this:
Image Number_Fruit type_Size_Colour_Weight
Each segments is separated by an underscore '_', let's call this my token separator.
The goal is to run a script that will read each file name and extract each token to build a text file, say XML.
Would it be possible to create such a script that would do this?
Best regards
Please consider the following example files:
12345_apple_small_red_40.jpg
98765_pear_big_green_50.jpg
The file name contains information (tokens) that describes the JPG image like this:
Image Number_Fruit type_Size_Colour_Weight
Each segments is separated by an underscore '_', let's call this my token separator.
The goal is to run a script that will read each file name and extract each token to build a text file, say XML.
Would it be possible to create such a script that would do this?
Best regards