Output specific info to XML Report

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rpawliko
    Visitor
    • Nov 2014
    • 8

    Output specific info to XML Report

    I'm able to putput the following from a bcss file:
    name path size crc modified

    I'm trying to compare two bcss files, and output the differences to an XML report, and include the information above.

    Currently, it outputs:
    created ltpath rtpath created2 filename1 filename2

    filename two has path\filename, but I'd like to separate the info, and I need the size, crc and modified attributes.

    Currently the script is

    text-report layout:XML title:"XMLTestInventory" output-to:"XMLInventory.xml"

    Can anyone help?
  • Aaron
    Team Scooter
    • Oct 2007
    • 15995

    #2
    Hello,

    I believe you are looking for the folder-report command, which is the folder level of the information (file names, size, etc). The text-report works on the selection and is generating the report based on the text content within those files.
    Aaron P Scooter Software

    Comment

    • rpawliko
      Visitor
      • Nov 2014
      • 8

      #3
      Closer, but it's not outputting the CRC info...

      Can you help?

      Originally posted by Aaron
      Hello,

      I believe you are looking for the folder-report command, which is the folder level of the information (file names, size, etc). The text-report works on the selection and is generating the report based on the text content within those files.

      Comment

      • Aaron
        Team Scooter
        • Oct 2007
        • 15995

        #4
        Hello,

        The CRC information is an 'option' in a report. To see it you would need to use a command like:
        folder-report layout:xml options:column-crc output-to:"c:\reports\report.xml"
        Aaron P Scooter Software

        Comment

        Working...