$ magicsearch.py /dev/sdb 156326912
156326912: RIFF (little-endian) data, WAVE audio
recovering 161 MB WAVE ... done.
325573632: RIFF (little-endian) data, WAVE audio
recovering 65 MB WAVE ... done.
394583040: RIFF (little-endian) data, WAVE audio
recovering 162 MB WAVE ... done.
564517888: RIFF (little-endian) data, WAVE audio
recovering 265 MB WAVE ... done.
847141888: RIFF (little-endian) data, WAVE audio
recovering 296 MB WAVE ... done.
1617556480: MPEG sequence, v2, program multiplex
recovery module not ready
3296780288: SysEx File -
recovery module not ready
Recovering, e.g. the RIFFs didn't work? You can retry without the need to search all device blocks again but using the magicsearch logfile as input instead, already containing all the interesting ipos numbers:
$ retry.py /dev/sdb magicsearch.log RIFF
In order to recover a specific file, you can also invoke the appropriate file type recovery script manually:
$ RIFF.py /dev/sdb 156326912