I’m going to have a series of files like file1 file2 file3 - hundreds of these files. I need to be able to cut out any file(s) and then rename all subsequent files to maintain the sequence.
In other words, if I have file1, file2, file3, file4, file5, file6, file7, I need to be able to delete file3 and file4 and have something rename file5 to become the new file3, file 6 to become the new file4, etc.
ie the sequence should go from file1, file2, file3, file4, file5, file6, file7, delete file3/file4, then become file1, file2, file3(originally file5), file4(originally file6), file5(originally file7)
Is there a program or some sort of batch commands or something I can do to achieve this?