hi.
Selected files rename script with regexreplace.
im newbie please help me.
Selected files rename script with regexreplace
Selected files rename script with regexreplace
newbie or not...........
Re: Selected files rename script with regexreplace
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!";
""
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!";
""
newbie or not...........
Re: Selected files rename script with regexreplace
""
"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!";
""
"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!";
""
newbie or not...........