LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Header, footer of a file (https://www.linuxquestions.org/questions/linux-software-2/header-footer-of-a-file-593891/)

lawrence_lee_lee 10-23-2007 06:52 AM

Header, footer of a file
 
Does anyone know the header and footer, in hexadecimal format, for a "flac" file? And whether the header and footer are case sensitive?

I am trying to rescue my flac files in a corrupter ext3 file system. Although there exists some commercial software for doing this, they are all expensive. Now I am using the software "foremost" (an open source software in Linux) to try to tackle the problem. But I need the above information.

Please help! Thanks very very much for giving any opinion.

pixellany 10-23-2007 07:26 AM

By "header and footer", do you mean the bytes at the beginning and end? Google gives lots of hits, but I could not immediately find the format details. (Being open-source, it's out there somewhere)

Why not just look at a file? Like so:

cat filename.flac | hexdump -C | more

To go right to the end of the file, take out the "more".


All times are GMT -5. The time now is 05:18 AM.