Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dophin: restore from trash? (solved)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Spanik
l33t
l33t


Joined: 12 Dec 2003
Posts: 950
Location: Belgium

PostPosted: Tue Mar 05, 2024 2:19 pm    Post subject: Dophin: restore from trash? (solved) Reply with quote

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
View user's profile Send private message
Banana
Veteran
Veteran


Joined: 21 May 2004
Posts: 1407
Location: Germany

PostPosted: Tue Mar 05, 2024 2:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Spanik
l33t
l33t


Joined: 12 Dec 2003
Posts: 950
Location: Belgium

PostPosted: Tue Mar 05, 2024 3:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum