Page 1 of 1

Place leading numbers at end

PostPosted: Fri Aug 02, 2013 5:43 am
by parker
The files I want to rename all have two number at the beginning(I.E. 01 Filename, 02Filename etc) The file names are variable lengths with spaces and hyphens in the name plus a file extension(.wav). There is a single space between the two leading numbers and the rest of the file name. How can I take the leading numbers and place them at the end?

Re: Place leading numbers at end

PostPosted: Sat Aug 10, 2013 2:56 pm
by truth
Is 02Filename a typo?.. I assumed you dont want to rename any without the leading ##Space
Do you only want to rename .wav's?.. I assumed yes (easy enough to remove)
The below renames ## Filename.wav --> Filename ##.wav

brc32 /pattern:*.wav /regexp:"^(\d\d) (.+):\2 \1" /execute