delete files after being recovered

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
Mike420
Posts: 3
Joined: 14 Apr 2023, 06:56

delete files after being recovered

#1 Post by Mike420 »

i want to delete the files that where recovered, that i dont want. when i go to its location to where files where saved i click the delete button but it says access denied how can i delete these files?

recuperation
Posts: 2737
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: delete files after being recovered

#2 Post by recuperation »

Make sure that you have the necessary rights and that you do not store anything on your broken source disk.

Mike420
Posts: 3
Joined: 14 Apr 2023, 06:56

Re: delete files after being recovered

#3 Post by Mike420 »

"Change the owner of the files, example sudo chown -R username recup_dir.* or sudo chown -R username /home/username/testdisk-6.14/recup_dir.*

im using thiese commands keep in mind im new to this whole linux. but in my case im not sure how i would write the code. any guidance would help please and thank you

recuperation
Posts: 2737
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: delete files after being recovered

#4 Post by recuperation »

Mike420 wrote: 14 Apr 2023, 14:28 "Change the owner of the files, example sudo chown -R username recup_dir.* or sudo chown -R username /home/username/testdisk-6.14/recup_dir.*

im using thiese commands keep in mind im new to this whole linux. but in my case im not sure how i would write the code. any guidance would help please and thank you
I had to look this up on the internet.

https://stackoverflow.com/questions/832 ... l-contents

Instead of changing the owner you could enable rights "free for all style":

chmod -R 777 /home/username/testdisk-6.14/

Mike420
Posts: 3
Joined: 14 Apr 2023, 06:56

Re: delete files after being recovered

#5 Post by Mike420 »

im using Manjaro will this work on majaro? also is the 6.14 the version of testdisk? do i need to change that?

recuperation
Posts: 2737
Joined: 04 Jan 2019, 09:48
Location: Hannover, Deutschland (Germany, Allemagne)

Re: delete files after being recovered

#6 Post by recuperation »

Mike420 wrote: 14 Apr 2023, 15:42 im using Manjaro will this work on majaro? also is the 6.14 the version of testdisk? do i need to change that?
What is majaro as opposed to Manjaro?
What is "this"? Try to be specific and prevent misinterpretation.

The most recent version of Testdisk is 7.2-WIP.

SystemRescueCD, Gparted-Live, Knoppix-CD and Knoppix-DVD have version 7.1 of Testdisk built in.
I prefer Linux Mint with the XFCE desktop. You can run Linux Mint in Live Mode (without installation) When keying in "testdisk" in a shell you are being told what to do to install Testdisk. You just need a working internet connection.

https://www.cgsecurity.org/wiki/TestDisk_Livecd

When trying to run the most recent version 7.2-WIP (which is not beta software but rather the most current version) you don't need to compile the Testdisk source code. You can download precompiled binaries:

https://www.cgsecurity.org/wiki/OS_Note ... d_binaries

Locked