<div class="gmail_quote">On Thu, Aug 25, 2011 at 6:47 PM, Adam Rosi-Kessel <span dir="ltr"><<a href="mailto:adam@rosi-kessel.org">adam@rosi-kessel.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#FFFFFF"><div>What difference, if any, between servers? Generally Cygwin path should put cyg commands ahead of windows/DOS ones. Did you try putting single quotes around the {}?<br></div></div></blockquote><div>
<br></div><div>Yeah, single quotes didn't help. AFAIK the environments are identical.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#FFFFFF"><div><div class="h5"><div>On Aug 25, 2011, at 5:39 PM, Jamie Forrest <<a href="mailto:jamie@jamieforrest.com" target="_blank">jamie@jamieforrest.com</a>> wrote:<br><br></div><div></div><blockquote type="cite">
<div>This is a bit off topic because I am using gnuwin32 on Windows Server 2003 SP2, but I figured people here might be able to help. I've written a find command to find all xml files in a certain directory that are older than 20 minutes, and delete them. Here's the command:<br>
<br><font face="'courier new', monospace">C:\gnuwin32\GetGnuWin32\gnuwin32\bin\find.exe /mydir/*.xml -mmin +20 -exec rm -f {} \ ;</font><div><font face="'courier new', monospace"><br>
</font></div><div><font face="'courier new', monospace"><span style="font-family:arial">This is <b>working fine</b> on 2 of my 3 servers. On the third server, I am getting this error over and over (likely on every file in the directory):</span><br>
</font></div><div><br></div><div><span style="font-family:'courier new', monospace">C:\gnuwin32\GetGnuWin32\gnuwin32\bin\find.exe: rm: Invalid argument</span></div><div><font face="'courier new', monospace">C:\gnuwin32\GetGnuWin32\gnuwin32\bin\find.exe: error waiting for rm: No child processes<br>
</font></div><div><font face="'courier new', monospace"><br></font></div><div>Google hasn't been much help. Do you guys have any leads? (FYI the reason I am calling the full path on find.exe is because the default "find" command points to the dos "find" command, and I don't want to mess with the PATH to fix this.)</div>
<div><br></div><div>Thanks!</div><div>Jamie</div><div><br></div><div>-- <br><a href="http://about.me/jamieforrest" target="_blank">http://about.me/jamieforrest</a><br><br></div>
</div></blockquote></div></div><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Linux-disciples mailing list</span><br><span><a href="mailto:Linux-disciples@lists.bostoncoop.net" target="_blank">Linux-disciples@lists.bostoncoop.net</a></span><br>
<span><a href="http://lists.bostoncoop.net/mailman/listinfo/linux-disciples" target="_blank">http://lists.bostoncoop.net/mailman/listinfo/linux-disciples</a></span><br></div></blockquote></div><br>_______________________________________________<br>
Linux-disciples mailing list<br>
<a href="mailto:Linux-disciples@lists.bostoncoop.net">Linux-disciples@lists.bostoncoop.net</a><br>
<a href="http://lists.bostoncoop.net/mailman/listinfo/linux-disciples" target="_blank">http://lists.bostoncoop.net/mailman/listinfo/linux-disciples</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><a href="http://about.me/jamieforrest" target="_blank">http://about.me/jamieforrest</a><br>