xml list

List a directory's contents (like ls) in XML format. More information: https://xmlstar.sourceforge.net/docs.php.

xml list > {{path/to/dir_list.xml}}

xml list {{path/to/directory}} > {{path/to/dir_list.xml}}

xml list --help