Topic: In-filename renumbering with a hitch ...
A more or less peculiar problem of sorts with a hobby of mine, historic data: various folders with filenames following a given naming scheme consisting of LOCATION and (PRODUCT), both of which are the same in the folder I am working on. As in 'speaking filenames': you always know from which folder the file comes should I have to create a collage.
Groupings therein are represented by a leading two-digit number. This is followed by a hyphen and a three-digit dec/binary size indicator. Finally there is a hyphen and a two digit file number.
My 'problem' is that it may happen that a certain Grouping has to be included between existing files, meaning that I have to rename all files from file [X] onward, keeping the original numbers but increased by one. So files with '19' go '20', files with '20' go '21', files with '21' go '22', etc. ... as far as I understand one would require a temporary files table or 'top-to-bottom' rename mechanism to avoid double filenames. Can Siren do this? Everything I tried did not work (but then I may be plain stupid). Thanks in advance!
Example names:
LName (PName) 17-400-26.txt
LName (PName) 18-200-11.txt
LName (PName) 19-200-01.txt
LName (PName) 19-200-02.txt
LName (PName) 19-200-03.txt
LName (PName) 19-400-01.txt
LName (PName) 19-400-02.txt
LName (PName) 19-400-03.txt
LName (PName) 19-400-04.txt
LName (PName) 19-400-05.txt
LName (PName) 19-400-06.txt
LName (PName) 19-400-07.txt
LName (PName) 19-400-08.txt
LName (PName) 19-400-09.txt
LName (PName) 20-200-01.txt
LName (PName) 20-200-02.txt
LName (PName) 20-400-01.txt
LName (PName) 20-400-02.txt
LName (PName) 20-400-03.txt
LName (PName) 21-400-01.txt
LName (PName) 22-400-01.txt
LName (PName) 23-400-01.txt
LName (PName) 24-200-01.txt