M471
Back to the Gcode Dictionary
M471: Rename File/Directory on SD-Card
Parameters
- S"name" Name of existing file/directory
- T"name" New name of file/directory
- Dnnn Setting this to 1 will delete any existing file that matches the T parameter value
Usage
- M471 S"source/name" T"dest/name" D1
Example
M471 S"/sys/config-override.g" T"/sys/config-override.g.bak"
Rename or move a file or directory. Using the D parameter will delete any existing file with the target name. Renaming or moving across directories is possible though not from one SD-Card to another.
Supported in RRF >= 2.03.
0 Comments