Link to home
Start Free TrialLog in
Avatar of ccrdude
ccrdude

asked on

Special file recovery or disk editor needed

Problem: if you cancel moving a folder on MacOSX from one partition to another, the files remaining on the source vanish. Did fall for this and last a very important and quite long TeX document.

Have tried three tools for recovery... FileSalvage, Boomerang and DataRescue, bot all do not have TeX templates.

What I am looking for is either a recovery tool where I can really manually specify sequences to look for, or a disk editor that I could use to search the whole hard disk for keywords of the TeX document (e.g. "\begin{document}" and "\end{document}".).

Any hint where to get such a tool would be very much appreciated!
Either MacOSX, or able to read HFS+ disks attached to a Windows machine.

(btw, the only reference to a MacOSX disk editor I found was Norton Disk Editor X, part of Norton Utilities, which is no longer available for the Mac it seems... a source where I could get it would be appreciated as well.)
ASKER CERTIFIED SOLUTION
Avatar of strung
strung
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ccrdude
ccrdude

ASKER

Thanks for the ideas, I asked both. Too bad its Saturday and I probably won't receive answers before Monday (and I doubt SubRosaSoft would implement LaTeX support just for me within a day or two *g*).

Btw, since its Unix under the hood... is there maybe any chance to be able to search the harddisk through /dev/something through the command line?
Avatar of Eoin OSullivan
To search for a specific string of text in a file on your Mac .. in Terminal type ..

find . -type f -exec grep "XXXX" {} \; -print

where XXXX is the string of characters you know was in your file.

This searches all files and folders below the one in which you execute the command.

More find examples here
http://www.athabascau.ca/html/depts/compserv/webunit/HOWTO/find.htm

Good Luck
Avatar of ccrdude

ASKER

Thanks eoinosullivan, but I wasnt speaking about searching in any available file. If there was a file, I wouldn't have to undelete it, right? ;)
I was speaking on operating on the plain harddisk... /dev/disk0... grep doesn't search binary files, returns useless line numbers, and probably has problems with the 2 GB bounder, so it's useless here. I've started coding a small command line app that searches /dev/disk0, but a professional solution might be more successful.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ccrdude

ASKER

Thanks everyone, I did solve it over the weekaround already using a self-written tool to locate LaTeX files on /dev/disk0
http://ccrdude.net/files/fpc/devp.pas

Will award points to strung an in-effect though for hinting at companies that would be willing to make proper templates, since in the long term, this would probably helped as well :)