Page 1 of 1
Selected files rename script with regexreplace
Posted: 17 Aug 2017 19:50
by drjs5x
hi.
Selected files rename script with regexreplace.
im newbie please help me.

Re: Selected files rename script with regexreplace
Posted: 17 Aug 2017 20:23
by drjs5x
i fixed

))
no overwrite ... good solution rename.
""
"Selected files regex BATCH RENAME|run02.ico|0" status "Processs Dosya sayisina Gore.........!";setting "BackgroundFileOps", 0;foreach($file, "<get SelectedItemsPathNames |>") {$dosya=getpathcomponent($file, "file");$item = regexreplace($dosya, "(?=\[VIDEO\])(.*)(\.)" ,"$2");renameitem($item, $file , 16, "-0001");};status "Done!";
""
Re: Selected files rename script with regexreplace
Posted: 17 Aug 2017 21:14
by drjs5x
""
"Selected files regex BATCH RENAME if only content files|run02.ico|0" status "Processs Dosya sayisina Gore.........!";setting "BackgroundFileOps", 0;foreach($file, "<get SelectedItemsPathNames |>") {$dosya=getpathcomponent($file, "file");$regexvar=strpos($dosya, "[video]");if $regexvar!="-1" {$item = regexreplace($dosya, "(?=\[VIDEO\])(.*)(\.)" ,"$2");renameitem($item, $file , 16, "-0001");};};status "Done!";
""