Ubuntu: where the files goes when restore that file in trash



Question:

Accidentally one of my folder was delete by my own self(That folder was at Downloads). And then I moved to trash and that folder was there. Then I right click on that folder and select restore. But now that folder is not in Downloads neither trash ,So where that file goes after restore ? Is there any way to get that file ?

(I'm using ubuntu 12.04)

In terminal I tried this to search it as said in early question asked in askubuntu cd .local/share/Trash/files but after ls that was empty . Give some help.


Solution:1

Try this command on terminal,

find / -xdev 2>/dev/null -name "foldername"  


Solution:2

I just deleted my Downloads folder, and then attempted to restore from trash, and it restored to the original location by default.

Also deleted a folder from inside the Downloads folder, and it also was restored to the original location.

To find where the folder is on the drive, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

find / -type d -name "folder_name" 2> /dev/null  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »