<br><div class="gmail_quote"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<div class="im"><br>
<br>
Jeremy Adams wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm using osmosis to download replicate diffs via the --rii task and write them out to change files using --wxc. Is there any way to have osmosis name the output file with the sequence ID or timestamp of the last replicate it downloaded? I'm using a script to name them with the current system timestamp when osmosis was invoked, but that's not the timestamp of when they were committed on the osm server.<br>
</blockquote>
<br></div>
Why not modify your script to let osmosis write to a temp .osc file and then rename that according to what Osmosis put into its state.txt file?<br>
<br>
Bye<br>
Frederik<font color="#888888"></font><br></blockquote></div><br>That's my plan "B". I'm not a superstar when it comes to bash, so I'll have to do some research on how to read the state.txt file and pull the sequence number out.<br>
<br>-Jeremy<br>