LinuxCommandLibrary

xml-list

List a directory's contents (like `ls`) in XML format.

TLDR

Write the current directory's listing to an XML document

$ xml list > [path/to/dir_list.xml]
copy


Write the specified directory's listing to an XML document
$ xml list [path/to/directory] > [path/to/dir_list.xml]
copy


Display help for the list subcommand
$ xml list --help
copy

Copied to clipboard