Hi forum,
I have to convert a lot of rrd files from x86 to amd64 format. The files are kept in a lot of subdirs making up an archive.
I found this method for Linux:
The find syntax is obviously different on FreeBSD and I have tried many different combinations of single quotes, double quotes, accents, brackets etc e.g.
which doesn't work. It just creates a single huge file called .xml in the top directory.
In fact, I'm just looking for at way to extract the file names and change the extension from "rrd" to "xml".
Any ideas?
Regards,
Jon
I have to convert a lot of rrd files from x86 to amd64 format. The files are kept in a lot of subdirs making up an archive.
I found this method for Linux:
Code:
find . -name *.rrd -exec rrdtool dump {} >`basename {} .rrd`.xml \;
Code:
find . -name "*.rrd" -exec rrdtool dump {} > `basename {} rrd`.xml \;
In fact, I'm just looking for at way to extract the file names and change the extension from "rrd" to "xml".
Any ideas?
Regards,
Jon