[Ecls-list] Rename a directory?

Zach Beane xach at xach.com
Thu Aug 19 18:26:33 UTC 2010


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




More information about the ecl-devel mailing list