一連のファイルからファイル名の2番目の部分を削除します。私はすべてをたい私は次のようになり、ファイルのセットを持つ(約100)一連のフォルダ持つフォルダ
Folder 1:
species_2136.dbf
species_2136.lyr
species_2136.prj
species_2136.sbn
species_2136.sbx
species_2136.shp
species_2136.shp.xml
species_2136.shx
Folder 2:
species_136524.dbf
species_136524.lyr
species_136524.prj
species_136524.sbn
species_136524.sbx
species_136524.shp
species_136524.shp.xml
species_136524.shx
を名前はspecies.ext
となります。どのようにすべてのフォルダ内のすべてのファイルからこのように見えるように_####
を削除できますか? Perlの名前の変更(スタンドアロンコマンド)で
Folder 1:
species.dbf
species.lyr
species.prj
species.sbn
species.sbx
species.shp
species.shp.xml
species.shx
Folder 2:
species.dbf
species.lyr
species.prj
species.sbn
species.sbx
species.shp
species.shp.xml
species.shx