def units = new File("C:\\all")
def humUnits = ['footman','gryphonrider','knight','peasant','priest','rifleman','seigeengine','sorceress','spellbreaker','summonwaterelemental','dragonhawk','flyingmachine','mortarteam']
def orcUnit = ['wyvernrider','demolisher','grunt','headhunter','kotobeast','peon','raider','shaman','spiritwalker','spiritwolf','tauren','trollbatrider','witchdoctor']
def neUnits = ['mountaingiant','wisp','archer','chimaera','druidoftheclaw','druidofthetalon','dryad','faeriedragon','glaivethrower','hippogriff','huntress']
def udUnits = ['shade','abomination','acolyte','banshee','cryptfiend','frostwyrm','gargoyle','ghoul','meatwagon','necromancer','obsidianstatue','destroyer']
def unitName = humUnits + orcUnit + neUnits + udUnits
units.listFiles().each{
def un = it.name.replaceAll("BTN","").replaceAll(".jpg","").toLowerCase()
if(unitName.indexOf(un) != -1){
println "renaming ${it.name}"
it.renameTo(new File("c:\\all2\\${un}.jpg"))
}
}
""
分享到:
相关推荐
NET 绘制 EAN13 (商品条码)sdasdas
Razer_Synapse_Installer_v2.21.21.1.exe
dsadsadasdsadsadsaddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
MS C 6.0 Installing and Using the P.D.S. MS C 6.0 Reference MS C 6.0 Run-Time Library Reference MS C 6.0 Developer's Toolkit Reference QuickC 2.5 Tool Kit QuickC 2.5 C for Yourself QuickC 2.5 ...
Anastasia Ailamaki (École Polytechnique Fédérale de Lausanne) Performance Prediction for Concurrent Database Workloads (Page 337) Jennie Duggan (Brown University) Ugur Cetintemel (Brown University)...
Gautam Das (University of Texas at Arlington) Search Computing: Multi-Domain Search on Ranked Data (Page 1267) Alessandro Bozzon (Politecnico di Milano) Daniele Braga (Politecnico di Milano) Marco ...
ü \n &Gönder Klasörünü Aç \n &Kay;ıt Anahtarına Atla \n &Ekran;ı Kapat" 64="Yukarıdan seçim yaptıktan sonra tekrar deneyin!" 65="İşlem başarıyla tamamlandı." [Language_German_Deutsch...
文档中描述了如何在嵌入式PowerPC, ARM和MIPS系统上配置、编译、使用Das U-Boot(常常缩写为“U-Boot”)和Linux操作系统。文档中涵盖了所有你可能需要的用于配置、编译、运行U-Boot和Linux的工具。 2. 绪论 首先,...
以上四条,测试带符号整数运算的结果(标志S,O和Z). JE/JZ 等于转移. JNE/JNZ 不等于时转移. JC 有进位时转移. JNC 无进位时转移. JNO 不溢出时转移. JNP/JPO 奇偶性为奇数时转移. JNS 符号位为 "0" 时...
SUB, SBB, DEC, AAS, and DAS 6.5.3 - The CMP Instruction 6.5.4 - The CMPXCHG, and CMPXCHG8B Instructions 6.5.5 - The NEG Instruction 6.5.6 - The Multiplication Instructions: MUL, IMUL, and...
54max引擎+登陆器配置器54max引擎+登陆器配置器