XML listing file size/stored improvement

andycapo--- via Dar-support <[email protected]>
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <[email protected]>
Hello Denis,

I've a question: if I print the XML listing of an archive (I'm trying to build a search engine basing on a collection of XML), the file "size" and "stored" value is "human readable": I think that it may be better just the bytes number.

For istance, instead of:

<File name="Core8.for" size="124 kio" stored="30 kio" crc="3e1ba5c6" dirty="no" sparse="no" delta_sig="no" patch_base_crc="" patch_result_crc="">
<Attributes data="saved" metadata="absent" user="andy" group="users" permissions=" -rwxr-xr-x" atime="1541840834" mtime="1053954862" ctime="1546081107" />
</File>

I would better like to see:

<File name="Core8.for" size="126953" stored="30725" crc="3e1ba5c6" dirty="no" sparse="no" delta_sig="no" patch_base_crc="" patch_result_crc="">
<Attributes data="saved" metadata="absent" user="andy" group="users" permissions=" -rwxr-xr-x" atime="1541840834" mtime="1053954862" ctime="1546081107" />
</File>

By the way, this output (without units) would enable the Xquery parsing on file size (otherwise I would loose all the Xquery language power). Incidentally, this representation would alse be consistent with the "*time" tags that show the epoch value, and are perfect for Xquery parsing.

Thanks

Andy

_______________________________________________
Dar-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dar-support
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.