Tag: ODF
-
your ODF file (“.odt”, “.ods”, …) and its “modified” timestamp
https://en.wikibooks.org/wiki/XML_-_Managing_Data_Exchange/OpenOffice.org_%26_OpenDocument_Format https://github.com/JochenHayek/misc/blob/master/using_timestamps_in_filenames/create_snapshot_from_ODF.sh https://en.wikipedia.org/wiki/XMLStarlet Your “.odt” (or “.ods”) file is a ZIP file with a meta.xml inside: $ unzip -l YOUR.ods … … meta.xml … This is a convenient way to extract meta.xml to STDOUT: $ unzip -p YOUR.ods meta.xml … This is how to get the XML reformatted using xmlstartlet: $ unzip -p YOUR.ods meta.xml…
-
your OOXML file (“.docx”, “.xlsx”, “.vsdx”, …) and its “modified” timestamp
https://en.wikipedia.org/wiki/Office_Open_XML_file_formats https://github.com/JochenHayek/misc/blob/master/using_timestamps_in_filenames/create_snapshot_from_OOXML.sh https://en.wikipedia.org/wiki/XMLStarlet VSDX does not get listed as an OOXML conform file format, but for this purpose (here) we can treat it like one. Your “.docx” (or “.xlsx”) file is a ZIP file with a docProps/core.xml inside: $ unzip -l YOUR.docx … … docProps/core.xml … This is a convenient way to extract docProps/core.xml to…