Files
pims-custom-scripts/uninstall.sh
2024-07-15 09:38:57 +02:00

9 lines
181 B
Bash
Executable File

#!/usr/bin/bash
PATH=/home/$(whoami)/.local/bin
TO_DELETE=($PATH/pcs*)
NUM_OF_FILES=${#TO_DELETE[@]}
/usr/bin/rm -f ${TO_DELETE[@]}
echo $NUM_OF_FILES scripts removed from $PATH.