<div dir="ltr"><div><div><div>for i in &lt;full path to folders to process&gt;; do du ${i} &gt;&gt; &lt;storage&gt;/filesizes-$(date +%Y%m%d) ; done<br><br></div>run daily:<br></div><div>for i in 1 2 3 4 5; do<br></div> diff &lt;storage&gt;/filesizes_$(date -d &quot;today&quot; +%Y%m%d) &lt;storage&gt;/filesizes_$(date -d &quot;${i} days ago&quot; +%Y%m%d) &gt; &lt;storage&gt;/${i}_day_changes<br>
</div>done<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 14, 2014 at 2:35 PM, Paul Cartwright <span dir="ltr">&lt;<a href="mailto:pbcartwright@gmail.com" target="_blank">pbcartwright@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 08/14/2014 02:28 PM, Chuck Payne wrote:<br>
&gt; David,<br>
&gt;<br>
&gt; Try to see how much space I use in 5 days, so I can plug into a spread<br>
&gt; sheet to figure up the cost, they give different rates for how much we<br>
&gt; store.<br>
&gt;<br>
&gt; Thanks I will try that.<br>
&gt;<br>
&gt; By way, we need to do lunch.<br>
</div>if you do a :<br>
#  du -S|tail -1<br>
<br>
it will give you the total ( of that folder... or specify a folder)<br>
<br>
do that every day in a cron and do &#39;date&#39;&gt;&gt; to that file in the cron job..<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Paul Cartwright<br>
Registered Linux User #367800 and new counter #561587<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">-- <br>James P. Kinney III<br><i><i><i><i><br></i></i></i></i>Every time you stop a school, you will have to build a jail. What you 
        gain at one end you lose at the other. It&#39;s like feeding a dog on his 
        own tail. It won&#39;t fatten the dog.<br>

        - Speech 11/23/1900 Mark Twain<br><i><i><i><i><br><a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br></i></i></i></i></div>
</div>