View Single Post
Old 03-07-2017, 04:01 PM  
bigstar
FlashFXP Developer
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default [script] batch rename a series of folders

Code:
#this will queue the rename operation and allow you to review the result before the rename occurs.

#our goal is to rename a bunch of folders named as <mm-dd-yyyy> to <yyyy-mm-dd>

/enqueue /ren "%p%f" "%p$replacerx("%f", "^([0-9]{2})\-([0-9]{2})\-([0-9]{4})$","\3-\1-\2")"
bigstar is offline