上傳檔案到micro:bit
pip install microfsufs lsc:\>ufs
usage: ufs [-h] [command] [path] [target]
Interact with the basic filesystem on a connected BBC micro:bit device. You
may use the following commands: 'ls' - list files on the device (based on the
equivalent Unix command); 'rm' - remove a named file on the device (based on
the Unix command); 'put' - copy a named local file onto the device just like
the FTP command; and, 'get' - copy a named file from the device to the local
file system a la FTP. For example, 'ufs ls' will list the files on a connected
BBC micro:bit.
positional arguments:
command One of 'ls', 'rm', 'put' or 'get'.
path Use when a file needs referencing.
target Use to specify a target filename.
optional arguments:
-h, --help show this help message and exit
Last updated