Does just the last .bash* file get copied if it is newer?<div><br></div><div>I believe you keep redefining the task over and over so it is only dependent on one file.</div><div><br></div><div>-jacob</div><div><br><div class="gmail_quote">
On Tue, Dec 6, 2011 at 7:08 PM, David L. Anselmi <span dir="ltr">&lt;<a href="mailto:anselmi@anselmi.us">anselmi@anselmi.us</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="im">Lorin Ricker wrote:<br>
&gt; Are there any Rake/Ruby experts here in CLUE who&#39;d be willing to look at<br>
&gt; the above posting and give my question/problem a shot?<br>
<br>
</div>I don&#39;t know anything about rake so I have some questions about the code.  If they&#39;re worth<br>
answering maybe that will help.<br>
<br>
   tarDir = File.join BUPDIR, tarDirSuffix<br>
   directory tarDir<br>
<br>
What&#39;s &quot;directory tarDir&quot; and why does it come after the assignment?<br>
<br>
   desc &quot;Backup #{fn} to .../#{tarDirSuffix}&quot;<br>
<br>
What does this do?  It (and the lines after) doesn&#39;t seem to run.  Is that a hint?<br>
<br>
   file tar =&gt; [src] do |t|<br>
<br>
This seems badly formed.  tar seems to be a variable containing the full path to the backup file.<br>
src seems to be a variable containing the path to the source file.  What&#39;s file?  Does it make sense<br>
to say &quot;file =&gt; [src]&quot;?<br>
<br>
So I think your problem is not in the &quot;is the file newer&quot; logic but in your &quot;file tar ...&quot; loop.<br>
<br>
HTH,<br>
Dave<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
clue mailing list: <a href="mailto:clue@cluedenver.org">clue@cluedenver.org</a><br>
For information, account preferences, or to unsubscribe see:<br>
<a href="http://cluedenver.org/mailman/listinfo/clue" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a><br>
</div></div></blockquote></div><br></div>