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.)
Mac OS XSystem UtilitiesApple Software

Avatar of undefined
Last Comment
ccrdude
ASKER CERTIFIED SOLUTION
Avatar of strung
strung
Flag of Canada image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
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
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
Avatar of Andrew Duffy
Andrew Duffy
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of ccrdude
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 :)
Mac OS X
Mac OS X

Mac OS X is the desktop operating system from Apple Inc., found on Macintosh computers. OS X consists of a Mach/BSD-based kernel, operating system interfaces primarily based on FreeBSD and additional frameworks (written in C, C++ and Objective-C providing user interface and application-level services.

15K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo