I have a directory of 500 files that I need to batch rename. The files are collected via a google drive form in which the applicant submits 5 individuals files labeled as such:
CPW541_PersonalInformationSheet
CPW541_Resume
CPW541_ShortResponses
CPW541_Essay
CPW541_AcademicSummary
SEL285_PersonalInformationSheet
SEL285_Resume
SEL285_ShortResponses
SEL285_Essay
SEL285_AcademicSummary
I would like to batch rename the above file names to (in alphabetical order from the top of the directory):
1_PersonalInformationSheet
1_Resume
1_ShortResponses
1_Essay
1_AcademicSummary
2_PersonalInformationSheet
2_Resume
2_ShortResponses
2_Essay
2_AcademicSummary
I tried using the question here as a reference, but I couldn't make sense of how to rename every five files. Any help would be greatly appreciated!