[PLUG] Bash Scripting Question

wes plug at the-wes.com
Fri Sep 17 14:55:29 UTC 2010


yes, but wouldn't it be easier to do that with just find?

find . -executable -exec {} \;

-wes

On Fri, Sep 17, 2010 at 7:36 AM, Josh Cady <josh.cady at gmail.com> wrote:

> Probably a stupid question, but if one wanted to find all files with
> execute bits set in a folder (find . -executable), and then execute
> them, all within a bash script, is there a simple "for files in *"
> loop that would accomplish this?
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>



More information about the PLUG mailing list