#!/bin/bash for ui in *.ui; do pyside2-uic $ui > ${ui%.*}.py done