MRCI/docs/intern_commands/fs_list.md
Maurice ONeal 364924c383 Added a new internal command.
Added a new fs_tree command that list all files and directories in a directory
tree. Just like fs_list, it has the option to output human readable text or
FILE_INFO frames. Also added the option to hide hidden files for both commands.

1.1.2 --> 1.1.3
2019-09-26 19:04:04 -04:00

11 lines
725 B
Markdown

### Summary ###
list all files or sub-directories in a directory.
### IO ###
```[{-path (text)} {-info_frame} {-no_hidden}]/[text] or [FILE_INFO]```
### Description ###
this list all files in the current directory or the directory specified in -path. this command normally returns human readable text for each file or sub-directory that is listed but you can pass -info_frame to make the command return FILE_INFO frames for each file/sub-directory instead. note: if displaying as text, all directory names are displayed with a '/' at the end. by default, this command will list all hidden files and directories among the visible but you can pass the -no_hidden option to have it not list the hidden files or directories.