2021-08-16 13:23:55 +01:00
|
|
|
# xml list
|
2021-08-14 23:17:52 +01:00
|
|
|
|
2021-08-24 02:20:17 +01:00
|
|
|
> List a directory's contents (like `ls`) in XML format.
|
2021-08-15 12:19:09 +01:00
|
|
|
> More information: <http://xmlstar.sourceforge.net/docs.php>.
|
2021-08-14 23:17:52 +01:00
|
|
|
|
2021-08-22 00:29:19 +01:00
|
|
|
- Write the current directory's listing to an XML document:
|
2021-08-15 19:38:24 +01:00
|
|
|
|
2021-08-21 02:33:37 +01:00
|
|
|
`xml list > {{path/to/dir_list.xml}}`
|
2021-08-15 19:38:24 +01:00
|
|
|
|
2021-08-22 00:29:19 +01:00
|
|
|
- Write the specified directory's listing to an XML document:
|
2021-08-15 19:38:24 +01:00
|
|
|
|
2021-08-21 02:33:37 +01:00
|
|
|
`xml list {{path/to/directory}} > {{path/to/dir_list.xml}}`
|
2021-08-15 19:38:24 +01:00
|
|
|
|
2021-08-16 13:23:55 +01:00
|
|
|
- Display help for the `list` subcommand:
|
2021-08-14 23:17:52 +01:00
|
|
|
|
|
|
|
`xml list --help`
|