Open/LibreOffice Formats

Using TestDisk to undelete files
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
slowspeed
Posts: 5
Joined: 31 Oct 2022, 20:16

Open/LibreOffice Formats

#1 Post by slowspeed »

In the list of document types, I did not see the choice for ODT or ODS, etc.. Are these not covered?

recuperation
Posts: 2737
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: Open/LibreOffice Formats

#2 Post by recuperation »

ods and odt files consist of information that is packed into a ZIP file. Technically those are ZIP files. Try renaming one and look inside...
This is why they are part of the ZIP family.

https://www.cgsecurity.org/wiki/File_Fo ... y_PhotoRec

slowspeed
Posts: 5
Joined: 31 Oct 2022, 20:16

Re: Open/LibreOffice Formats

#3 Post by slowspeed »

Sorry, but I don't understand. Surely those text formats are not compressed files.

recuperation
Posts: 2737
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: Open/LibreOffice Formats

#4 Post by recuperation »

Rename a Windows excel file ending with xlsx into a zip file. Then try to open it up.

slowspeed
Posts: 5
Joined: 31 Oct 2022, 20:16

Re: Open/LibreOffice Formats

#5 Post by slowspeed »

I do not use windows. I do not understand what you are trying to explain.

recuperation
Posts: 2737
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: Open/LibreOffice Formats

#6 Post by recuperation »

Start Calc from LibreOffice. Open a new table calculation file and save it as myfile.ods. Close LibreOffice, rename myfile.ods to myfile.ods.zip. Open this ZIP file by double-clicking it or open it up from the command line.

You should see a file and folder tree pop up. This is the content of your ods file. It carries the extension ods only to inform your operating system about the right program to open this file. Technically, byte-wise, it is a compressed ZIP archive.

slowspeed
Posts: 5
Joined: 31 Oct 2022, 20:16

Re: Open/LibreOffice Formats

#7 Post by slowspeed »

It is, is it? Wow, I did not know that.

So what will be the exact file extension when the recovery is done? Will it be a .zip?

recuperation
Posts: 2737
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: Open/LibreOffice Formats

#8 Post by recuperation »

Yes.

Locked