Files
shell_scripts/_test/param.sh
2018-03-12 06:25:43 +01:00

13 lines
365 B
Bash
Executable File

#!/usr/bin/env bash
if [[ "${1}" == "latest" ]]; then
echo $1
fi
#[ -d ~/.kymsu/plugins.d -a -x ~/.kymsu/plugins.d ] && find ~/.kymsu/plugins.d -type f -name '*.sh' -perm +u+x -exec bash -c {} ${1:no-cleanup} \;
find . -type f -name '_mas*.sh' -perm +u+x -exec bash -c {} "$1" \;
#find ~/.kymsu/plugins.d -type f -name '_m*.sh' -perm +u+x | xargs exec "$1" ;