Skip to content

Commit 57d23c7

Browse files
committed
update example description
1 parent 25d8025 commit 57d23c7

File tree

1 file changed

+32
-0
lines changed
  • examples/host/msc_file_explorer/src

1 file changed

+32
-0
lines changed

examples/host/msc_file_explorer/src/main.c

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,38 @@
2323
*
2424
*/
2525

26+
/* Example to show how to navigate mass storage device with built-in command line.
27+
* Type help for list of supported commands and syntax (mostly linux commands)
28+
29+
> help
30+
* help
31+
Print list of commands
32+
* cat
33+
Usage: cat [FILE]...
34+
Concatenate FILE(s) to standard output..
35+
* cd
36+
Usage: cd [DIR]...
37+
Change the current directory to DIR.
38+
* cp
39+
Usage: cp SOURCE DEST
40+
Copy SOURCE to DEST.
41+
* ls
42+
Usage: ls [DIR]...
43+
List information about the FILEs (the current directory by default).
44+
* pwd
45+
Usage: pwd
46+
Print the name of the current working directory.
47+
* mkdir
48+
Usage: mkdir DIR...
49+
Create the DIRECTORY(ies), if they do not already exist..
50+
* mv
51+
Usage: mv SOURCE DEST...
52+
Rename SOURCE to DEST.
53+
* rm
54+
Usage: rm [FILE]...
55+
Remove (unlink) the FILE(s).
56+
*/
57+
2658
#include <stdlib.h>
2759
#include <stdio.h>
2860
#include <string.h>

0 commit comments

Comments
 (0)