File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -234,6 +234,7 @@ The full list of supported commands are:
234
234
- ``rmdir <dirs...> `` to remove directories on the device
235
235
- ``touch <file..> `` to create the files (if they don't already exist)
236
236
- ``sha256sum <file..> `` to calculate the SHA256 sum of files
237
+ - ``tree [-vsh] <dirs...> `` to print a tree of the given directories
237
238
238
239
The ``cp `` command uses a convention where a leading ``: `` represents a remote
239
240
path. Without a leading ``: `` means a local path. This is based on the
@@ -264,6 +265,13 @@ The full list of supported commands are:
264
265
There is no supported way to undelete files removed by ``mpremote rm -r : ``.
265
266
Please use with caution.
266
267
268
+ The ``tree `` command will print a tree of the given directories.
269
+ Using the ``--size/-s `` option will print the size of each file, or use
270
+ ``--human/-h `` to use a more human readable format.
271
+ Note: Directory size is only printed when a non-zero size is reported by the device's filesystem.
272
+ The ``-v `` option can be used to include the name of the serial device in
273
+ the output.
274
+
267
275
All other commands implicitly assume the path is a remote path, but the ``: ``
268
276
can be optionally used for clarity.
269
277
You can’t perform that action at this time.
0 commit comments