/ Published in: Bash
get the list of dirs
process that list to cmd expressions
run the file with cmd exprssns
process that list to cmd expressions
run the file with cmd exprssns
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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