Vadim Gritsenko wrote:
Reinhard Poetz wrote:
Vadim Gritsenko wrote:
Reinhard Poetz wrote:
Could somebody help me with an additional script which recursivly
scans for the download scripts, sets the "x" attribute on the file
and executes it then?
Sure; what's the script name / name pattern?
It will be located in apidocs/create-apidocs.sh
This will do it:
find . -name "create-apidocs.sh" | grep apidocs | xargs bash
thanks. The command seems to work but I have a problem to execute the script
because David is the owner and neither chown nor chmod are permitted using my
account:
/x1/www/cocoon.apache.org/2.2/core-modules/pipeline-api/1.0/apidocs
> ls -lsa
total 14
2 drwxrwxr-x 3 crossley cocoon 512 Sep 26 17:08 .
2 drwxrwxr-x 6 crossley cocoon 512 Sep 26 17:08 ..
2 drwxrwxr-x 6 crossley cocoon 512 Sep 27 14:33 .svn
2 -rw-rw-r-- 1 crossley cocoon 581 Sep 26 17:08 create-apidocs.sh
6 -rw-rw-r-- 1 crossley cocoon 5385 Sep 26 17:08 index.html
(When I copy the script into my home directory, it works fine.)
Can anybody help?
--
Reinhard Pötz Independent Consultant, Trainer & (IT)-Coach
{Software Engineering, Open Source, Web Applications, Apache Cocoon}
web(log): http://www.poetz.cc
--------------------------------------------------------------------