How to use python to split master text file into multiple files
Conf.text contain the following data:
How to use a phyton function to split the conf.txt file into multiple files using the "configfile" tag as a spliting string and the quoted string that come after the tag as path and filename where the splitted sections will be stored.
will be stored in "/var/etc/config/config.server"
will be stored in : "/var/config/MyConf.cfg"
will be stored in : "/var/etc/dbconfig/dbcon.conf"
PS: The master Conf.text can contain more than the 3 sections mentioned above.so more configfile tag for more config files after the splitting process.