note
dwhite20899
Hi, svetho!
<p>
I also needed a date-modified mode for rsync, so I don't think you missed something there.
<p>
I was downloading ISO files into various subdirectories of /home/me/isos and wanted to rsync occasionally, but didn't want to waste time on dirs I already had done.
<p>
I wrote a script that "touch"ed a file when it exited, to set the date it was last run. I don't have the code handy, but it went like: <br>
<code>
$f = `find /home/me/isos -type f -iname '*iso' `;
@imlist = split(/\n/,$f);
$touchtime = -M ".touch_sem";
for $image (@imlist) {
if ($touchtime <= -M "$image") { #rsync }
}
`touch .touch_sem `;
</code>
768319
768319