mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 00:41:42 +00:00
22 lines
485 B
Plaintext
22 lines
485 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# xml list
|
|
|
|
> List a directory's contents (like `ls`) in XML format.
|
|
> More information: <http://xmlstar.sourceforge.net/docs.php>.
|
|
|
|
- Write the current directory's listing to an XML document:
|
|
|
|
`xml list > {{path/to/dir_list.xml}}`
|
|
|
|
- Write the specified directory's listing to an XML document:
|
|
|
|
`xml list {{path/to/directory}} > {{path/to/dir_list.xml}}`
|
|
|
|
- Display help:
|
|
|
|
`xml list --help`
|