Difference between revisions of "Rename"
From ComputerCraft Wiki
Bomb Bloke (Talk | contribs) m (moved Rename (program) to Rename: This is what category tags are for.) |
Bomb Bloke (Talk | contribs) m (Category tag.) |
||
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 |