Can files be retrieved after being truncated or hidden.

Accidentally hit the wrong button in Disk Utilities and about half of my backup hard drive files have been truncated. This a 300 GB drive with about 114 GB used and is the main back up for all my files since 1997. Yikes!

Can truncated or damaged, and hidden, files be restored——with software or manually?

Thanks for any input. I think I am out of luck on this one.

PowerBook, Mac OS X (10.4.11), 15"

Posted on Nov 18, 2010 8:09 AM

Reply
9 replies

Nov 18, 2010 9:22 AM in response to grey holder

I'm not sure what is meant by truncated.

Some of this depends upon exactly what you did (might be helpful to know).

If what you did damaged the drive's directory then that can be repaired with Diskwarrior. You could also see if Disk Utility's First Aid can repair, but it isn't all that powerful.

If what you did deleted files (e.f. formatting the drive), try using an application such as [Data Rescue 3|http://www.prosofteng.com/products/data_rescue.php] or [FileSalvage|http://subrosasoft.com/OSXSoftware/index.php?main page=product_info&productsid=1]. Both have free trial versions that let you see if the software will help before you decide to buy. You will also need a second hard drive equal to or larger in size than your first drive as a destination drive for recovered files.

http://www.thexlab.com/faqs/datarecovery.html

It is critical that you do not use the drive or even turn it on until you have rescued your files. Files only have the directory reference to them removed when you empty the trash or otherwise delete them from a drive (unless you use secure erase, in which case they are gone forever or can only be potentially be recovered by very expensive means) and are still present on the computer. However, their space is marked as available to any other file creation done on the computer (even done by you using the drive) and there is risk that your files will be overwritten by the computer.

As for hidden, do you mean they are just invisible, or did they disappear because of something you did in Disk Utility? There are ways of making files invisible (and visible) but this is not what has been done if a file has been damaged or is deleted.

Message was edited by: Limnos

Message was edited by: Limnos

Nov 18, 2010 9:41 AM in response to Limnos

By truncated, Disk Utilities shortened the file names when using First Aid-->Repair Disk (meant to hit Verify Disk). The files no longer recognize resource information they need to open up. When opening files, depending on the application, error messages come up stating the file is either truncated or damaged.

By hidden, some are not visible on the desktop. I know they are there, just can't see them.

Tried Disk Warrior and it says it is not a Mac drive and will not allow access to repair it.

Have not deleted any files. Nor have I used the drive at all since this happened.

Any ideas on this?

Thanks for your input.

Nov 18, 2010 10:15 AM in response to grey holder

I take it this is a Mac drive? Many Mac utilties won't touch non-Mac drives, but then DU's repair shouldn't even have looked at it either.

If it is a Mac drive I am surprised the repair button did that much to it, unless it was pretty bad to start with.

Did you let the two trial versions of the file recovery utilities have a look at it? They don't modify the drive.

Nov 18, 2010 11:33 AM in response to grey holder

Why can I not run my programs?
Some mac files have a data fork & a resource fork. When these files are copied to a Fat32 drive, they get split into two files. What you see is the data fork. The resource fork is pre-pended with ._ Files beginning with . get hidden on unix by default. You should see them on Windows. So, maybe there exists a name difference between the hidden & visible files.
Applications have to end with .app to run. Applications are really a folder with the extension .app Perhaps this got confused.

If you happen to attach the drive to a mac system, turn off spoltlight via spotless.

For best results, get another drive & make a complete copy of the drive the unix command dd. Work with the backup when trying to recover.


I do not recommend fat32 for a backup drive. You should be using mac os extended (journalled )

Robert

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Can files be retrieved after being truncated or hidden.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.