Modify Python Script to Batch Convert all “WOFF” Files in Directory

后端 未结 2 922
半阙折子戏
半阙折子戏 2021-01-07 04:27

I have been using a great open-source python script by GitHub user @hanikesn (see below) that converts a single WOFF file back into OTF format via command line (Terminal on

2条回答
  •  说谎
    说谎 (楼主)
    2021-01-07 05:07

    You are using zsh, aren't you? so to loop on your WOFF files you could to do

    for f in *.woff ; /complete/path/to/your/script.py $f
    

提交回复
热议问题