File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
examples/host/msc_file_explorer/src Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 23
23
*
24
24
*/
25
25
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
+
26
58
#include <stdlib.h>
27
59
#include <stdio.h>
28
60
#include <string.h>
You can’t perform that action at this time.
0 commit comments