Hi Markus, On Thu, Jul 13, 2006 at 07:10:07PM +0200, markus.skergeth wrote: > [...] > Ich schreibe dieses Mail am Rande der Verzweiflung, da ich schon seit > einer Woche versuche, Dateien einer korrupten Partition wiederherzustellen. > Jetzt habe ich mir ein Programm besorgt, O&O DiskRecovery, welches zwar > Dateien auf der Partition wiederfindet, allerdings nur, wenn diese mit > Endung > und einer Signatur im hexadezimal und/oder im ASCII-Format eingetragen > werden. > > Jetzt also meine Frage: Wie sehen die Signaturen der OpenOffice-Dateien aus?
grep match /usr/share/mime/packages/openoffice.org.xml <match type="string" offset="38" value="application/vnd.sun.xml.base"/> <match type="string" offset="38" value="application/vnd.oasis.opendocument.graphics"/> <match type="string" offset="38" value="application/vnd.oasis.opendocument.graphics-template"/> <match type="string" offset="38" value="application/vnd.oasis.opendocument.formula"/> <match type="string" offset="38" value="application/vnd.oasis.opendocument.text-master"/> <match type="string" offset="38" value="application/vnd.oasis.opendocument.presentation"/> <match type="string" offset="38" value="application/vnd.oasis.opendocument.presentation-template"/> <match type="string" offset="38" value="application/vnd.oasis.opendocument.spreadsheet"/> <match type="string" offset="38" value="application/vnd.oasis.opendocument.spreadsheet-template"/> <match type="string" offset="38" value="application/vnd.oasis.opendocument.text"/> <match type="string" offset="38" value="application/vnd.oasis.opendocument.text-template"/> <match type="string" offset="38" value="application/vnd.oasis.opendocument.text-web"/> Sprich an Position 38 steht der Mimetyp (in der im Zipfile nur gestorten und nicht komprimierten mimetype Datei. Ansonsten sind die Dateien ja Zip-Dateien $ grep zip /etc/mime-magic 0 string PK\003\004 application/zip Sprich geht mit PK<steuerzeichen><steuerzeichen>an... ciao Christian -- NP: Silverchair - Slave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
