[rrd-users] Re: Help! Resize difficulties.

Frank Swasey fcs at zoo.uvm.edu
Fri Dec 8 18:13:59 MET 2000


On Fri, 8 Dec 2000 JTuite at PanAmSat.com wrote:

> #!/bin/bash
> 	for rrdfile in $1/*.rrd ; do
> 		echo Before
>     		ls $rrdfile -s
> 		rrdtool resize $rrdfile $2 $3 $4
> 		rm $rrdfile

> 		cp resize.rrd $rrdfile
> 		rm resize.rrd

Why did you do those two commands instead of 
		mv resize.rrd $rrdfile

> 		echo After
>     		ls $rrdfile -s
> 		echo 
> 	done


-- 
Frank Swasey                             |\      _,,,---,,_
Systems Programmer                 ZZZzz /,`.-'`'    -.  ;-;;,_
University of Vermont                   |,4-  ) )-,_. ,\ (  `'-'
http://www.uvm.edu/~fcs                '---''(_/--'  `-'\_)


--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list