In need of a script

Advanced Renamer forum
#1 : 16/04-19 18:22
Posts: 1
i am need of a script which renames files with below condition:

1. if file name starts with US, prefix a US before the name
2. if file name starts with AU, prefix a AU before the name

16/04-19 18:22
#2 : 17/04-19 10:33
David Lee
David Lee
Posts: 444
Please post examples. You request doesn't appear to make sense - you seem to want just to double the first two letters of the filenames if they begin with US or AU.

US_some_name.ext --> USUS_some_name.ext
AU_another_name.ext --> AUAU_another_name.ext


17/04-19 10:33