#!/bin/bash for file in $(ls ./src/gui/ui) do output_file=$(echo $file | sed -e 's/\..*$//') pipenv run python -m PyQt5.uic.pyuic -x ./src/gui/ui/$file -o ./src/python/ui/$output_file'_ui.py' done;