[SD] is there a way to move a file (mv)


I am using the sd library

I can create, delete and list file but I also need to move a file from the root to a folder and rename the file.

Like the mv command. I can not see a function to rename or to move.

IS there a workaround to do it? Someone know how it could be done?

Many thank

You could create a file, copy the contents into it, and then remove the old one.

Yes, you are right, but I would prefer to do a mv, if there is no solution I will do in that way. Thank