(佐々木@PSEG1)大文字のファイル名に対応

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2277 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
(no author) 2008-08-26 10:36:59 +00:00
parent adead5f1b9
commit bb81fe0273
2 changed files with 9 additions and 9 deletions

View File

@ -18,11 +18,11 @@ require "find"
require "fileutils"
REGION_DIR = {
"u" => ["aus"],
"e" => ["usa"],
"j" => ["jp"],
"p" => ["euro"],
"a" => ["aus", "usa", "jp", "euro"],
"U" => ["aus"],
"E" => ["usa"],
"J" => ["jp"],
"P" => ["euro"],
"A" => ["aus", "usa", "jp", "euro"],
}
def proc(target_dir, output_dir)

View File

@ -40,10 +40,10 @@ mkdir $tmp
find ../$1 -name "*.out" -exec cp {} $tmp \;
find $tmp -name "*[ja]-v0*.out" | gawk -F/ '{printf("cp %s jp/%s\n",$0, $2)}' | sed -e 's/\.out$//g' > jp.sh
find $tmp -name "*[ua]-v0*.out" | gawk -F/ '{printf("cp %s aus/%s\n",$0, $2)}' | sed -e 's/\.out$//g' > aus.sh
find $tmp -name "*[pa]-v0*.out" | gawk -F/ '{printf("cp %s euro/%s\n",$0, $2)}' | sed -e 's/\.out$//g' > euro.sh
find $tmp -name "*[ea]-v0*.out" | gawk -F/ '{printf("cp %s usa/%s\n",$0, $2)}' | sed -e 's/\.out$//g' > usa.sh
find $tmp -name "*[jaJA]-v0*.out" | gawk -F/ '{printf("cp %s jp/%s\n",$0, $2)}' | sed -e 's/\.out$//g' > jp.sh
find $tmp -name "*[uaUA]-v0*.out" | gawk -F/ '{printf("cp %s aus/%s\n",$0, $2)}' | sed -e 's/\.out$//g' > aus.sh
find $tmp -name "*[paPA]-v0*.out" | gawk -F/ '{printf("cp %s euro/%s\n",$0, $2)}' | sed -e 's/\.out$//g' > euro.sh
find $tmp -name "*[eaEA]-v0*.out" | gawk -F/ '{printf("cp %s usa/%s\n",$0, $2)}' | sed -e 's/\.out$//g' > usa.sh
./jp.sh
./aus.sh