In Mac OS X we can retrieve the deleted files using the Trash. The Trash icon, which is displayed at the right-hand end of the Dock, where all the files deleted from Finder go to is linked to the system folder with the same name - Trash. The deleted files are kept there until you empty Trash or restore the file.
You can empty the trash in three possible ways: you can click and hold on the trash icon and select ¡®Empty Trash¡¯ from the menu, you can also choose the same option from anywhere in the Finder from menu bar or using the keyboard shortcut command-shift-backspace. You need to ensure that the contents of Trash are not needed, before emptying it or else Mac Data Recovery will be required. However, in few cases, doing so may not give the expected results. A user may fail to empty Trash, with the following error:
¡°trash won't empty--error 8062¡±
Or
¡°The operation could not be completed because the item '(item name)' is locked¡±
Solution
? Mac OS X supports permission settings for each file and folder, which help defining the operations allowed. The folders, for which no write permission is there, end up in Trash and you can¡¯t delete them or their contents. To solve this issue, you can use rm-rf command. We should always handle the process carefully as its incorrect use may cause data loss and raise Mac Recovery requirements. For running the command, you need to open Terminal application, type ¡®sudo rm ¨Crf¡¯, open the Trash, open Edit menu and choose Select All, drag all these items to Terminal window and press return. Alternatively, you can also use ¡®sudo rm -rf ~/.Trash/¡¯ command.
Software download
? The above solution will not work if the files are locked, so you need to unlock them first. You can also delete the locked files directly by pressing Shift-Option or Option key combination while attempting to empty the Trash.
If you lose data, because of the incorrect use of rm-rf command or accidentally deleting the important files while emptying the Trash, Data Recovery Mac utilities can help. Mac Recovery utilities are the special recovery software which can scan and recover lost data by incorporating advanced algorithms specifically made for the Mac OS. Mac recovery applications are safe, effective and complete in delivering results.
Stellar Phoenix Macintosh Data Recovery uses the most powerful scanning algorithms to locate the lost data and then recover it safely. This Data Recovery Mac software is compatible with HFS, HFS+, HFS X and HFS Wrapper files system and is equipped with graphically rich user interface, hence offering you easy Mac recovery options. The Mac Data Recovery software is a universal binary which works on Mac OS 10.3.9 and above including Leopard (Mac OS X 10.5.x).