Hopefully fixed in CVS. RENAME-FILE is all what you need -- even though the specification only mandates it should work for files and thus this assumption is not portable.<div><br></div><div>Juanjo<br><br><div class="gmail_quote">
On Thu, Aug 19, 2010 at 8:26 PM, Zach Beane <span dir="ltr"><<a href="mailto:xach@xach.com">xach@xach.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I'd like to rename a directory with ECL. If I have a directory like<br>
"/tmp/from/" and I want to rename it to "/tmp/to/", I get something like<br>
this:<br>
<br>
> (rename-file "/tmp/from/" "/tmp/to/")<br>
<br>
Cannot rename the file "/tmp/from/" to #P"/tmp/to/".<br>
Explanation: No such file or directory.<br>
<br>
Is there an ECL-specific function I can use to to do what I want?<br>
<br>
Zach<br>
<br>
------------------------------------------------------------------------------<br>
This SF.net email is sponsored by<br>
<br>
Make an app they can't live without<br>
Enter the BlackBerry Developer Challenge<br>
<a href="http://p.sf.net/sfu/RIM-dev2dev" target="_blank">http://p.sf.net/sfu/RIM-dev2dev</a><br>
_______________________________________________<br>
Ecls-list mailing list<br>
<a href="mailto:Ecls-list@lists.sourceforge.net">Ecls-list@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/ecls-list" target="_blank">https://lists.sourceforge.net/lists/listinfo/ecls-list</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com">http://juanjose.garciaripoll.googlepages.com</a><br>
</div>