View previous topic :: View next topic |
Author |
Message |
Spanik l33t
Joined: 12 Dec 2003 Posts: 950 Location: Belgium
|
Posted: Tue Mar 05, 2024 2:19 pm Post subject: Dophin: restore from trash? (solved) |
|
|
I did something stupid and deleted the only folder on a drive (1485 subdirectories, 24000 files in total). I notice that Dolphin has put them all in "/.Trash-1000" so restoring should be simple.
Only, there is no way to tell Dolphin to restore them... I did notice they are all set with group= root and user= root. I was a normal user when I deleted the files so I find it strange that they are now attributed to root. I could chown the lot but would I then be able to restore them? Or would it be simpler to go to a root terminal and do it all on the console? I'm not a big console user so the chance that anything goes wrong there is even bigger.
The files are also on the nas, but that one does not want to mount anymore... _________________ Expert in non-working solutions
Last edited by Spanik on Tue Mar 05, 2024 3:55 pm; edited 1 time in total |
|
Back to top |
|
|
Banana Veteran
Joined: 21 May 2004 Posts: 1407 Location: Germany
|
Posted: Tue Mar 05, 2024 2:45 pm Post subject: |
|
|
For me it sounds like something is already mixed up.
So manually copy them to another directory (out of trash and as a copy to not loose some files), change the owner to your daily user and then use dolphin to go through the files you need and move them manually.
After that you can clean your trash _________________ My personal space
My delta-labs.org snippets do expire
PFL - Portage file list - find which package a file or command belongs to. |
|
Back to top |
|
|
Spanik l33t
Joined: 12 Dec 2003 Posts: 950 Location: Belgium
|
Posted: Tue Mar 05, 2024 3:57 pm Post subject: |
|
|
Ok, tried a bit as suggested and it looks like it is even easier! You can as a normal user select in the /.Trash-1000 folder whatever you want and copy/move it to outside the trash folder. It is intelligent enough to restore the permissions from root:root inside the trash to user:user when back at the old location.
A "restore" button however would have been even easier... _________________ Expert in non-working solutions |
|
Back to top |
|
|
|