mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 07:18:38 +02:00
doc function updates and additions (#387)
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
mv() Netscript Function
|
||||
==============================
|
||||
|
||||
.. js:function:: mv(serverName, sourceFile, targetFile)
|
||||
.. js:function:: mv(hostname, sourceFile, targetFile)
|
||||
|
||||
:RAM cost: 0 GB
|
||||
|
||||
:param string hostname: Hostname of the target server.
|
||||
:param string sourceFile: Name of the file to be moved/renamed.
|
||||
:param string targetFile: Target name of the file.
|
||||
|
||||
Move the source file to target file on the given server.
|
||||
|
||||
This command only works for scripts and text files (.txt). It cannot, however, be used to convert from script to text file, or vice versa.
|
||||
|
||||
Reference in New Issue
Block a user