August 17, 201015 yr Like -> find ./plugins -type f -perm /+x -maxdepth 2 -name event.sh -exec {} $1 \; Is "-type f" really needed? It will skip symlinks. Is that desired? It's just how I always code finds. We can add -follow or take away -type f It was originally born from the directory scanner version which just looked for executable files (no name specifics).
August 17, 201015 yr Author I would keep the -f to prevent unwanted consequences .... and add -follow
Archived
This topic is now archived and is closed to further replies.