name "Rename files by changing one pattern to another" icon "$BIRCH/public_html/images/birch_black_ico.png" tip "For each selected file, change the name by replacint target with newname." var "in1" type tempfile direction in format tsv save false content selection var "target" type text label "target pattern to match" var "newname" type text label "change target to short pattern" var "out1" type tempfile direction out format tsv overwrite true content canvas panel var "Run" type button label "Run" shell "bltsv2name.py %in1% %in1%.tsv; bl_rename.py %TARGET% '%NEWNAME%' `cat %in1%.tsv`; rm %in1%.tsv; bldirtab.py %out1%" close true var "Help" type button label "Help" shell "$BIRCH/script/chooseviewer.py $BIRCH/doc/bioLegato/bl_rename.html" close false