Difference between revisions of "Rename"
From ComputerCraft Wiki
(Created page with "{{Stub|Needs more info about the program itself, perhaps an image?}} Rename is a built in program for computers and turtles that will rename the specified so...") |
Bomb Bloke (Talk | contribs) m (Category tag.) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 2: | Line 2: | ||
Rename is a [[CraftOS Shell|built in program for computers and turtles]] that will rename the specified source file to the specified destination name. However, it will not rename directories. | Rename is a [[CraftOS Shell|built in program for computers and turtles]] that will rename the specified source file to the specified destination name. However, it will not rename directories. | ||
| − | Note: This operation works exactly the same way as the [[ | + | Note: This operation works exactly the same way as the [[move|move program]]. |
{{Example | {{Example | ||
| Line 8: | Line 8: | ||
|code=rename /foo /bar | |code=rename /foo /bar | ||
}} | }} | ||
| + | |||
| + | [[Category:Programs]] | ||
Latest revision as of 09:39, 17 June 2014
| This page is a stub. Please help us by expanding it.
|
Rename is a built in program for computers and turtles that will rename the specified source file to the specified destination name. However, it will not rename directories.
Note: This operation works exactly the same way as the move program.
| Renames /foo to /bar | |
| Code |
rename /foo /bar |