#! /bin/sh for ui in $(ls *.ui) do python3 -m PyQt5.uic.pyuic -x $ui -o ${ui%.*}.py done