summaryrefslogtreecommitdiff
path: root/docs/reference/mpremote.rst
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2022-08-18 12:34:15 +1000
committerDamien George <damien@micropython.org>2022-08-18 22:24:25 +1000
commit263737ecfea6ec1049ef3aff37913866ebd463e5 (patch)
tree150db357d8171326216610817744db89d2670c0b /docs/reference/mpremote.rst
parenta311e9e3d419cf447c8a4cf2beed4a341e8387e3 (diff)
tools/pyboard.py: Add "touch" filesystem command.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'docs/reference/mpremote.rst')
-rw-r--r--docs/reference/mpremote.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/reference/mpremote.rst b/docs/reference/mpremote.rst
index 80290657f..3927c9bad 100644
--- a/docs/reference/mpremote.rst
+++ b/docs/reference/mpremote.rst
@@ -131,6 +131,7 @@ The full list of supported commands are:
- ``rm <src...>`` to remove files on the device
- ``mkdir <dirs...>`` to create directories on the device
- ``rmdir <dirs...>`` to remove directories on the device
+ - ``touch <file..>`` to create the files (if they don't already exist)
- mount the local directory on the remote device:
@@ -192,8 +193,8 @@ Shortcuts can be defined using the macro system. Built-in shortcuts are::
- ``c0``, ``c1``, ``c2``, ``c3``: connect to COM?
-- ``cat``, ``ls``, ``cp``, ``rm``, ``mkdir``, ``rmdir``, ``df``: filesystem
- commands
+- ``cat``, ``ls``, ``cp``, ``rm``, ``mkdir``, ``rmdir``, ``touch``, ``df``:
+ filesystem commands
- ``reset``: reset the device