lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> $ lua -e 'assert( os.rename( "testfile", "/does/not/exist" ) )'
> lua: <command line>:1: testfile: No such file or directory

The message comes from the OS. There is nothing we can do about it.
Try it on the command line:
	mv testfile /does/not/exist
You'll get
	mv: rename testfile to /does/not/exist: No such file or directory