Trying to delete recup.dir folders

Using TestDisk to undelete files
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
surveyor
Posts: 1
Joined: 22 Mar 2018, 23:05

Trying to delete recup.dir folders

#1 Post by surveyor »

Using PhotoRec and ended up with 18 recup_dir folders in my root folder (PCLinuxOS) and I cannot delete them.

I have seen a similar thread (2014) and I have changed ownership to root but still cannot find a way to delete them.

Any suggestions would be most welcome.

Thanks :?

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Trying to delete recup.dir folders

#2 Post by cgrenier »

Don't change the owner ship to root but to the user you are using ;-)
Otherwise as root, you can run

Code: Select all

rm -rf recup_dir.*
Be extra careful when you type this command

Locked