2010-01-27, 08:08
I actually just filed an issue on your googlecode site before I saw the link to here. Seems you can't post a reply there anyway...
I found that df will split its output into multiple lines if your filesystem path is too long for its formatting ( lvm tends to cause this), and this caused the freespace variables to bomb on me:
MoveDirFreeSpace=`df $MoveDir|sed -n 2p|awk '{print $4}'`
was giving me back spaces
But I found a real nice fix for this: "df -P" forces df to print results 1 per line. I added that to the four lines and now everything's running smoothly.
I found that df will split its output into multiple lines if your filesystem path is too long for its formatting ( lvm tends to cause this), and this caused the freespace variables to bomb on me:
MoveDirFreeSpace=`df $MoveDir|sed -n 2p|awk '{print $4}'`
was giving me back spaces
But I found a real nice fix for this: "df -P" forces df to print results 1 per line. I added that to the four lines and now everything's running smoothly.