I&#39;ve never written a script before, and know very little about them. (I&#39;ve googled, and just got confused.)<br><br><br>If I want to run a heap of movepages.py commands, it seems like I should use something like:<br>
<br><div style="margin-left: 40px;">#!/bin/sh<br>python movepages.py -from:&quot;abc (from Wikipedia)&quot; -to:&quot;abc&quot; -log:movelog<br>python movepages.py -from:&quot;xyz (from Wikipedia)&quot; -to:&quot;xyz&quot; -log:movelog</div>
<br>etc<br><br>My questions:<br><ul><li>If I place the script in my pywikipedia directory, do I still need to add a &nbsp; <b>cd pywikipedia/</b>&nbsp;&nbsp; or equivalent after the first line?</li><li>I&#39;ve seen &nbsp; <b>rundate=`date +&quot;%FT%T%z&quot;`&nbsp; </b>used after the cd command, but I can&#39;t figure out what this does. Is it needed?<br>
</li></ul>-- <br>Chris Watkins (a.k.a. Chriswaterguy)<br><br>Appropedia.org - Sharing knowledge to build rich, sustainable lives.<br><br><a href="http://identi.ca/appropedia">identi.ca/appropedia</a> / <a href="http://twitter.com/appropedia">twitter.com/appropedia</a><br>
<a href="http://blogs.appropedia.org">blogs.appropedia.org</a><br><br>I like this: <a href="http://five.sentenc.es">five.sentenc.es</a><br>