I have directory which has several files but has a fixed syntax:-

As is: source_delta_201908_120345.xml To be: source_normal_201908_120345.xml

So, Need to replace 'delta' with 'normal' and copy multiple files to same directory and once copying is complete, need to delete old files having 'delta' in file name pattern.

  • 1
    Welcome to Super User. Instead of copying all + deleting old files later, do you allow just moving (renaming) files one by one? What is your research effort? What have you tried? Please respond by editing the question. – Kamil Maciorowski Nov 4 '19 at 15:10
  • Hi Kamil, I have edited and added. pease have a look – Sahilkhan Nov 5 '19 at 9:26

Try this help guide to bulk rename with same format. https://www.windowscentral.com/how-rename-multiple-files-bulk-windows-10

  • -1. Link-only answers are low quality. Besides, the question is tagged unix and the linked site applies to Windows. – Kamil Maciorowski Nov 4 '19 at 15:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.