list all supported file formats

Using PhotoRec to recover lost data
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
Posts: 10
Joined: 19 Apr 2012, 15:21

list all supported file formats

#1 Post by landroni »

I need to recover 'audio' file formats from iTunes on a damaged Mac OS X disk. The problem is that the file formats listed within photorec do not coincide perfectly with those listed on the website ( ... y_PhotoRec).

For instance, the website lists ".mp4 MPEG 4", but photorec 6.14 has no such thing. It seems that in photorec this file format is contained in "mov" category. Same for ".wav RIFF audio", which is contained in "riff" category.

So is it possible to list all file formats supported by photorec from a given installation? I have in mind a commandline switch (say, '/list') that would output to stdout all the supported file formats. This would allow the user, say:

Code: Select all

photorec /list | less

so as to easily browse/search the list and to find the appropriate format.