On Wednesday 11 August 2010 11:02:09 WestHurley ComputerReCycling wrote: > Hope that someone uses TestDisk. http://www.cgsecurity.org/wiki/TestDisk
I've used it for a couple of things -- most often to remake a default MSDOS MBR on a hard disk. > The latest ver BETA: TestDisk & PhotoRec 6.12-WIP contains fidentify. > http://www.cgsecurity.org/wiki/TestDisk_6.12_Release 'apt-get show testdisk' for TestDisk on Debian testing/sid shows a longer list of file types that PhotoRec can recover: * Sun/NeXT audio data (.au) * RIFF audio/video (.avi/.wav) * BMP bitmap (.bmp) * bzip2 compressed data (.bz2) * Source code written in C (.c) * Canon Raw picture (.crw) * Canon catalog (.ctg) * FAT subdirectory * Microsoft Office Document (.doc) * Nikon dsc (.dsc) * HTML page (.html) * JPEG picture (.jpg) * MOV video (.mov) * MP3 audio (MPEG ADTS, layer III, v1) (.mp3) * Moving Picture Experts Group video (.mpg) * Minolta Raw picture (.mrw) * Olympus Raw Format picture (.orf) * Portable Document Format (.pdf) * Perl script (.pl) * Portable Network Graphics (.png) * Raw Fujifilm picture (.raf) * Contax picture (.raw) * Rollei picture (.rdc) * Rich Text Format (.rtf) * Shell script (.sh) * Tar archive (.tar ) * Tag Image File Format (.tiff) * Microsoft ASF (.wma) * Sigma/Foveon X3 raw picture (.x3f) * zip archive (.zip) > "fidentify, a > little utility sharing PhotoRec signature database, is now build by > default. It identifies the type of data contained in a file and reports > the extension as seen by PhotoRec. It is similar to the Unix file > command." > > Have done a number of searches to find out how to use fidentify but have > found nothing to date. Searched for a dedicated English TestDisk but > also nothing. > > Since "It is similar to the Unix file command." am wondering if it would > have similar commands? The Debian testing/sid version of TestDisk does not come with the fidentify command, so I don't have a man page for it. However looking at the code for fidentify here: http://www.sfr- fresh.com/linux/misc/testdisk-6.11.tar.gz:a/testdisk-6.11/src/fidentify.c I don't see it taking in command-line switches to change behavior similar to the 'file' command -- so I think the answer to your question is no. [And if you want the testdisk code, I suggest you get the upstream git repo here: http://www.cgsecurity.org/wiki/Developers ] -- Chris -- Chris Knadle [email protected] _______________________________________________ Mid-Hudson Valley Linux Users Group http://mhvlug.org http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug Upcoming Meetings (6pm - 8pm) MHVLS Auditorium Sep 1 - BOINC Oct 6 - Creating Firefox Extensions Nov 3 - Bug Labs
