docs/reference/mpremote: Document the 'fs tree' command.
Signed-off-by: Jos Verlinde <Jos_Verlinde@hotmail.com>
This commit is contained in:
parent
d945316432
commit
e39243c382
1 changed files with 8 additions and 0 deletions
|
|
@ -234,6 +234,7 @@ The full list of supported commands are:
|
||||||
- ``rmdir <dirs...>`` to remove directories on the device
|
- ``rmdir <dirs...>`` to remove directories on the device
|
||||||
- ``touch <file..>`` to create the files (if they don't already exist)
|
- ``touch <file..>`` to create the files (if they don't already exist)
|
||||||
- ``sha256sum <file..>`` to calculate the SHA256 sum of files
|
- ``sha256sum <file..>`` to calculate the SHA256 sum of files
|
||||||
|
- ``tree [-vsh] <dirs...>`` to print a tree of the given directories
|
||||||
|
|
||||||
The ``cp`` command uses a convention where a leading ``:`` represents a remote
|
The ``cp`` command uses a convention where a leading ``:`` represents a remote
|
||||||
path. Without a leading ``:`` means a local path. This is based on the
|
path. Without a leading ``:`` means a local path. This is based on the
|
||||||
|
|
@ -264,6 +265,13 @@ The full list of supported commands are:
|
||||||
There is no supported way to undelete files removed by ``mpremote rm -r :``.
|
There is no supported way to undelete files removed by ``mpremote rm -r :``.
|
||||||
Please use with caution.
|
Please use with caution.
|
||||||
|
|
||||||
|
The ``tree`` command will print a tree of the given directories.
|
||||||
|
Using the ``--size/-s`` option will print the size of each file, or use
|
||||||
|
``--human/-h`` to use a more human readable format.
|
||||||
|
Note: Directory size is only printed when a non-zero size is reported by the device's filesystem.
|
||||||
|
The ``-v`` option can be used to include the name of the serial device in
|
||||||
|
the output.
|
||||||
|
|
||||||
All other commands implicitly assume the path is a remote path, but the ``:``
|
All other commands implicitly assume the path is a remote path, but the ``:``
|
||||||
can be optionally used for clarity.
|
can be optionally used for clarity.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue