Trash recovery

Recover deleted files from Trash

Awards



Reviews

"The software is really wonderful and can recover and repair all the lost and deleted files. Thanks for such a wonderful software"

"I have used the software and i am really thankful to you guys who made my day. I have lost all my data from the trash and this trash recovery software helped me to get those data back."



Trash Recovery

System Requirements


  • Processor : Intel Pentium class
  • Operating System : MAC OS X 10.5,10.6 Snow Leopard and above
  • Memory :At least 250 MB RAM
  • Hard Disk: At least 50 MB of free disk space
Software Help


Latest Articles


Way to fix Stubborn Trash when it won’t delete (Part-2)



Trash Bin is used in MAC OS to store the deleted files and folders. In order to free the disk space you generally empty the Trash Bin but sometimes you are unable to delete the items from Bin by regular empty operation. You start getting various errors when you forcefully empty the Trash. There may be various reasons behind this phenomenon like sometimes items to be deleted are blocked or already in use by another application that restricts you to remove them from the Bin. Reasons can be any but all of them restrict you to empty the Trash. But you can fix stubborn trash by using following methods.

Command Line Approach

Read MAC OS X Tutorial if you don’t know how to issue UNIX commands. The command will look like as % cd ~. You don’t have to type % hit return after the command that follows it. Then provoke the terminal in application.

Background Information gives you details about the working of Trash. It is present in the Trash directory within your home directory. By issuing some commands you can see it contents

% cd ~

% ls –al .trash

Mac OS X 10.3.9, 10.4 Tiger, 10.5 Leopard and supports Snow Leopard

Download: Mac Trash Recovery is a complete solution for your lost files


When you will view the Trash directory after issuing command you will find that you have permissions of read and write on Trash due to which you can create or remove the files form Trash. If you are having the file owned by root directory you can delete it as you are deleting the directory entry of particular file and hence the disk space becomes free. On the basis of this concept you can easily fix stubborn trash. You can fix it below cited circumstances.

  1. Nested directory you don’t own
  2. Immutable files
  3. Open files
  4. The nightmare circumstances

Practical advice for Trash destruction

You can apply the below mentioned solutions in case of above mentioned situations.

1. Nested directories that you don’t own

You can delete the file by allowing write permission to all files of trash and can also do so when you run as root. Apply following commands

% sudo rm –ri ~/ .Trash

2. Immutable files

First of all check that whether immutable flag is set or not by specifying –o option to ls.

Ls –alo

Drwx----- 15 saruman staff - 510 jan 8.15:45 osxfaq

-rw-r-r—1 saruman staff uchg 2 feb 20 19:51 user-immutable-set

Here ‘uchg’ shows that user immutable flag is set and ‘schg’ means system immutable flag is set. You can delete the files after removing the immutable flags. So, do it like this:

% sudo chflags -R nouchg ~/.Trash

% sudo rm -ri ~/.Trash

3. Open files

You can check which files are open after giving ‘fstat’ commands.

% ls -al ~/.Trash

% fstat ~/.Trash/*

USER .CMD PID FD INUM MODE SZ|DV R/W MOUNT NAME

melkor vi 731 3 368860 -rw-r--r-- 0 r / /Users/melkor/.Trash/xxx.

Close all the opened files and then delete them

4.Nightmare scenario

If you fail to delete after trying above ways then there must be system immutable flag are set. This flag are not changed even by root. When your MAC OS are running in level 1 i.e. multi user mode then roots unable to do so. So you have to change it in level 0 first and the try to change the flag by following commands

% sudo shutdown +0 "Bye bye"

While doing so you will your network connectivity So, you have to you reboot your Mac, then startup with both the Command key and the 's' key held down.

% cd /Users/your-name-here/.Trash

% chflags -R noschg *

Now return to multi user mode by pressing control-d and try to empty the Trash with Finder. When you enter Level 0 type

%whoami , if it not root type then

% su and type control-d twice when exit.

By using above mentioned commands you can easily fix stubborn trash but if you still have problems then your file system have been corrupted and you need to repair it. In that situation you can use Trash Recovery software. It fixes all errors and it can also restore your corrupted and deleted file system.

Copyright © 2010 www.trashrecovery.com | Privacy-policy | Terms of Use|Contact US|About Us


Copyright Disclaimer – Trash Recovery is registered product and trademark of Mac (Apple Corp.). We at trashrecovery.com are not sponsored by any means by Apple and Its products.