Rename files


#1

Hi everybody,

I don’t know if I am missing something obvious but how can you rename a file (other than copying it and deleting the original?)


#2

File::moveFileTo() (see the API docs)

Rail


#3

File::moveFileTo

Move and rename are the same operation more or less for the operating system


#4

Nice one, thanks (I somehow overlooked it)