Delete

From ComputerCraft Wiki
Jump to: navigation, search
This page is a stub.
Please help us by expanding it.

Delete is a built in program for computers and turtles that will delete the specified source file or directory. As of version 1.6, it supports wildcards by use of fs.find. It cannot remove read-only files such as the rom folder or anything in the rom folder. Instead of delete, it is also possible to use rm (remove).


Grid paper.png  Example
Removes regular file /foo
Code
delete /foo




Grid paper.png  Example
Removes all the files and directories
Code
delete *