Rename picture files after XML export

If you need help on how to use the program
Post Reply
bonienl
Posts: 156
Joined: 2008-02-24 10:10:43
Location: Netherlands

Rename picture files after XML export

Post by bonienl »

I keep the database in XML format and pictures are stored as individual files. These files have the name of the database plus a sequence number. After some time use these file names and the actual sequence number in the database go out of sync.

I am looking for an easy way to rename the picture files. It are too many files to do manually. Perhaps this can be done with a script?

Thanks.
antp
Site Admin
Posts: 9725
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Scripts would not help I think, as there is no function to handle pictures.
But how do they go out of sync? Do you change movie numbers?
bonienl
Posts: 156
Joined: 2008-02-24 10:10:43
Location: Netherlands

Post by bonienl »

After adding new titles I do a renumber of the list based on formatted title. This causes the movie number in AMC to be different from the number given to the image file. That is of course not really a problem but I like to have the numbering aligned once in a while.

I have it solved by using EditPro and make replacements using regular expressions in the XML database file.

Thanks.
Post Reply