/unzip2here

Unzip the files in the folder and subfolders, then rename Chinese to Pinyin

Primary LanguageGo

Unzip the files in the folder and subfolders, then rename Chinese to Pinyin

I bought a Gameboy flash card, this card does not support roms in zip format, and the menu does not support Chinese, so I need to unzip the zip package of rom in some folders, and change the file name to Pinyin, so there are these codes.

The original folder

[GBC] 仙界传封神演义 [繁].zip
[GBC] 勇者斗恶龙I&II [繁].zip
[GBC] 勇者斗恶龙III [简].zip
[GBC] 口袋妖怪-金 [简].zip
[GBC] 口袋妖怪-银 [简].zip
[GBC] 四狂神战记-传说再现 [简].zip
[GBC] 塞尔达传说-不可思议的果实 大地之章 [简].zip
[GBC] 塞尔达传说-不可思议的果实 时空之章 [简].zip
[GBC] 塞尔达传说-梦见岛DX [简].zip

Runing

unzip2here C:\Users\zhong\Desktop\roms
[30]    C:\Users\zhong\Desktop\roms\GB精选中文游戏
[105]   C:\Users\zhong\Desktop\roms\GBC精选日文游戏
[64]    C:\Users\zhong\Desktop\roms\GBC精选中文游戏
[164]   C:\Users\zhong\Desktop\roms\GB精选英文游戏
[300]   C:\Users\zhong\Desktop\roms\GB精选日文游戏
[193]   C:\Users\zhong\Desktop\roms\GBC精选英文游戏
2022/07/29 17:00:51 unzip took 5.6045545s
2022/07/29 17:00:52 rename took 966.8446ms

folder after running

[GBC] KouDaiYaoGuai-Jin [Jian].gbc
[GBC] KouDaiYaoGuai-Yin [Jian].gbc
[GBC] SaiErDaChuanShuo-BuKeSiYiDeGuoShi DaDiZhiZhang [Jian].gbc
[GBC] SaiErDaChuanShuo-BuKeSiYiDeGuoShi ShiKongZhiZhang [Jian].gbc
[GBC] SaiErDaChuanShuo-MengJianDaoDX [Jian].gbc
[GBC] SiKuangShenZhanJi-ChuanShuoZaiXian [Jian].gbc
[GBC] XianJieChuanFengShenYanYi [Fan].gbc
[GBC] YongZheDouELongI&II [Fan].gbc
[GBC] YongZheDouELongIII [Jian].gbc