[Ecls-list] Rename a directory?
Juan Jose Garcia-Ripoll
juanjose.garciaripoll at googlemail.com
Thu Aug 19 21:44:31 UTC 2010
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.
Juanjo
On Thu, Aug 19, 2010 at 8:26 PM, Zach Beane <xach at xach.com> wrote:
> I'd like to rename a directory with ECL. If I have a directory like
> "/tmp/from/" and I want to rename it to "/tmp/to/", I get something like
> this:
>
> > (rename-file "/tmp/from/" "/tmp/to/")
>
> Cannot rename the file "/tmp/from/" to #P"/tmp/to/".
> Explanation: No such file or directory.
>
> Is there an ECL-specific function I can use to to do what I want?
>
> Zach
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> Ecls-list mailing list
> Ecls-list at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecls-list
>
--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20100819/45992534/attachment.html>
More information about the ecl-devel
mailing list