#1 : 01/09-13 09:02 Zeezuiper
Posts: 1
|
I downloaded some files where the names where in reverse. I wrote the following simple script to rename the files back:
function (index, item) { var OldName = item.name; var NewName = OldName.split('').reverse().join(''); return NewName; Have fun with it! |
#2 : 01/09-13 17:50 Kim Jensen
Administrator
Posts: 880 |
Reply to #1:
The is fun and clever. It can actually be done in one single line of JS code: return item.name.split('').reverse().join(''); |
#3 : 18/04-15 14:44 arwul
Posts: 94
|
Reply to #2:
Very nice indeed! Maybe add this to Advanced Renamer New Name -> Default tags or Advanced Tags ? = |