I have few 100s of rrds and i want to add 5 extra datasource to all of those rrds.
Since version 1.5 rrdtool create can "pre-fill" the data from existing file(s) with the --source option. This feature solves the problem without the need of additional scripts.
rrdtool create
--source