Return to Snippet

Revision: 13666
at May 1, 2009 15:10 by rowntreerob


Initial Code
INPUT:

./VTX000068/config
./VTX000069/config
./VTX000070/config
./VTX000071/config
./VTX000072/config

/home/rob/bin/util_upd_xml_dirs  /var/tmp/list_xml_config_dir > /home/rob/bin/call_xml_config.sh

OUTPUT:

/home/rob/bin/file_util_v2_config.sh  ./vtx000354/config  *video.xml chown apache:rtm >> /var/tmp/chgfiles.log
/home/rob/bin/file_util_v2_config.sh  ./vtx000356/config  *xml chmod 765 >> /var/tmp/chgfiles.log
/home/rob/bin/file_util_v2_config.sh  ./vtx000356/config  *xml chown tomcat:rtm >> /var/tmp/chgfiles.log
/home/rob/bin/file_util_v2_config.sh  ./vtx000356/config  *video.xml chown apache:rtm >> /var/tmp/chgfiles.log
/home/rob/bin/file_util_v2_config.sh  ./vtx000365/config  *xml chmod 765 >> /var/tmp/chgfiles.log
/home/rob/bin/file_util_v2_config.sh  ./vtx000365/config  *xml chown tomcat:rtm >> /var/tmp/chgfiles.log

run the output shell to make the changes

Initial URL

                                

Initial Description
get the list of dirs
process that list to cmd expressions
run the file with cmd exprssns

Initial Title
upd file permissions w/ scripts

Initial Tags
file

Initial Language
Bash