Ok, just to tak about it.
I made the assumption that Photorec works similar to the GNU/Linux 'file' command in recognize file's content, but it's probably wrong.
Indeed, the "MIME magic file extension" from C.Weiske can be used with the 'file' command, other than only PHP:
file -m programming.magic ...
Search found 3 matches
- 07 Jan 2024, 18:33
- Forum: File recovery
- Topic: css support
- Replies: 5
- Views: 53556
- 07 Jan 2024, 17:44
- Forum: File recovery
- Topic: photorec. finds file data after writing zeros to disk
- Replies: 10
- Views: 180300
Re: photorec. finds file data after writing zeros to disk
I used these commands on an SSD with an ext4 filesystem to write zeros to the free space on the drive.
cat /dev/zero > remove.file
sync
rm remove.file
after removing the file, photorec still finds plenty of deleted data. trying to figure why/how photorec is doing that?
I'm not completely sure ...
- 07 Jan 2024, 17:09
- Forum: File recovery
- Topic: css support
- Replies: 5
- Views: 53556
Re: css support
Hi! Just for info in the case of a hypotetical future improving of text/code recognition:
Christian Weiske (cweiske) on GitHub made an extension for the MIME magic file: https://github.com/cweiske/MIME_Type_PlainDetect
Christian Weiske (cweiske) on GitHub made an extension for the MIME magic file: https://github.com/cweiske/MIME_Type_PlainDetect