Author Topic: Rename file  (Read 1500 times)

n_shvetsov

  • New to the forum
  • *
  • Posts: 2
Rename file
« on: November 08, 2016, 01:18:45 PM »
Hi! How can I rename file? I try this:
Code: [Select]
dryos.rename ("file.cr2", "file2.cr2")but I have error message "attempt to call a nil value (field 'rename')"

What I do wrong? Thanx.

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12173
  • Maintenance mode
Re: Rename file
« Reply #1 on: November 09, 2016, 08:53:40 AM »
For now, you need to compile the lua_fix branch to call this function.

n_shvetsov

  • New to the forum
  • *
  • Posts: 2
Re: Rename file
« Reply #2 on: November 09, 2016, 12:41:25 PM »
Oh, yes, I found this fix and one and a half day trying to compile it, but unsuccessfully (I experienced with Linux for a long time ago). Can I find out, the changes affect only lua.mo? If so, can I get it already compiled on my mail or file sharing?
If the changes affect the entire firmware, I need only to compile a brunch 'lua_fix' with a key for my camera (6D), right?

Thank you very much for your answer!