I have been running a tool which is saved in the Documents
directory of my desktop computer. Suddenly my computer became unresponsive. So I pressed Ctrl+Alt+Delete and then restarted the computer. After restarting my computer, I could not access my Documents
directory, even though it was visible in my Home
directory. I have typed the following command on my terminal and found the Documents
directory, but I could not copy or move it:
ga@ga214:~$ locate Documents
/home/ga/Documents
/usr/share/app-install/desktop/gnome-documents:org.gnome.Documents.desktop
/usr/share/app-install/desktop/utopia-documents:UtopiaDocuments.desktop
/usr/share/app-install/icons/UtopiaDocuments.png
/usr/share/dbus-1/services/org.freedesktop.portal.Documents.service
I could see the directory inside the Home
directory as shown in the following screenshot:
I have all my important data in Documents
. If it is possible, please help me restore the directory with my data.
ls -lia ~/Documents
command output as follows,ga@ga214:~$ ls -lia ~/Documents ls: cannot access '/home/ga/Documents': No such file or directory
– Kumar Mar 02 '21 at 11:03locate
is using a database that might be outdatet, better usefind ~ -type d -name Documents
. If you click on "Home", you can check if a directory "Documents" is in there. I guess, ypi maybe accidently moved it somewhere (then you need to find it), or maybe you pressed Shift+Delete (then you deleted it for good and you must use recovery software). – pLumo Mar 03 '21 at 07:16