Richard Geoffrion wrote: > Andrew Crawford wrote: >> Richard Geoffrion wrote: >> >>> Andrew Crawford wrote:
>> <snip>...adding the full >> path to everything in the reporting loop), it mostly works. > Are the full paths necessary in your case? And what doesn't work? (not > important..just curious) Actually, it looks like the full paths are not necessary. I am not sure why I thought they were. Probably more fatigue-related thinking. I generally avoid using cd in shell scripts, though I don't have any coherent argument for that being preferable. >> One thing I noticed, both with one of the scripts on the wiki and, with >> your script, is that it seems to reference files in /tmp <snip> >> > ok...so then you did get that the /tmp files were just used to hold the > report data until I sent the email.... You said never mind but I thought > I'd just clarify! Yes, I got that. Thank you. I was trying to figure out why it was not returning the backup size in the reports. It turns out that none of my log files contain a line that says "Total bytes written:" anywhere. I typically get something like: Number of files: 1311 Number of files transferred: 0 Total file size: 5772086 bytes Total transferred file size: 0 bytes Literal data: 0 bytes Matched data: 0 bytes File list size: 43409 File list generation time: 0.343 seconds File list transfer time: 0.000 seconds Total bytes sent: 47181 Total bytes received: 3776 sent 47181 bytes received 3776 bytes 101914.00 bytes/sec total size is 5772086 speedup is 113.27 So, "Total transferred file size:" may be the closest match. If I had to hazard a guess, I'd say that we may be using different versions of dirvish. Since 1.3.1 is marked "not for production use," the Ubuntu package for dirvish appears to be 1.2. It looks like 1.3.1/1.4 has been in development for a long time, though (it looks like ~2 years). I did notice that your script assumes everything is in /banks for purposes of the final cd command. > ..and yah....doing late night work AFTER a full day can be confusing! > :) I get to start my day early tomorrow. Extended power outage at > work --oh joy! Maybe I'll go home early! (and then work some more from > home! hahahhah) Ouch. Good luck! Thanks again for the assist. Andrew Crawford _______________________________________________ Dirvish mailing list [email protected] http://www.dirvish.org/mailman/listinfo/dirvish
