Removing recovered files while recovery is in progress

Using PhotoRec to recover lost data
Post Reply
Message
Author
mjjig
Posts: 3
Joined: 23 May 2017, 10:47

Removing recovered files while recovery is in progress

#1 Post by mjjig » 23 May 2017, 10:50

Hi,

Is it safe to remove already recovered files from the directory photorec is recovering to while photorec is still running? I've realised part way into a recovery that the drive I'm recovering to is not large enough for all of the recovered files and would rather not have to restart the recovery, so would prefer to move the files to a different drive without stopping photorec, but wanted to check this wouldn't confuse photorec.

Thanks

Sponsored links

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

Re: Removing recovered files while recovery is in progress

#2 Post by cgrenier » 24 May 2017, 06:47

You can move the file while the recovery is in in progress except the file PhotoRec is currently writing.
You can also wait for the no enough space message from PhotoRec and continue the recovery to another disk.

mjjig
Posts: 3
Joined: 23 May 2017, 10:47

Re: Removing recovered files while recovery is in progress

#3 Post by mjjig » 24 May 2017, 07:48

Awesome, thank you.

While I've got you, is there a difference between the files who's names begin with a t and those that begin with an f?

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

Re: Removing recovered files while recovery is in progress

#4 Post by cgrenier » 25 May 2017, 08:40

Extract from the documentation

PhotoRec: file name and date
****************************
By default, files are saved in directories named recup_dir.1, recup_dir.2...
A new directory is created each new 500 files (The thumb files are not included in this count, nor the report.xml file).
A filename begins by a letter followed by a number (7 digits or more) and ends, if any, by a file extension.

Letter meaning:

* f=file
* b=broken
* t=jpeg embedded thumbnail

The number is calculated by using the file location minus the partition offset divided by the block size. For some filesystems like NTFS, exFAT, ext2/3/4, this number may be identical to the original cluster/block number.
Using metadata information embedded in the recovered file, the file may be renamed to include the documentation title (example, Microsoft Office doc/xls/ppt or Acrobate pdf files) like
``recup_dir.1/f0016741_Prudent_Engineering_Practice_for_Cryptographic_Protocols.pdf``.

mjjig
Posts: 3
Joined: 23 May 2017, 10:47

Re: Removing recovered files while recovery is in progress

#5 Post by mjjig » 25 May 2017, 12:26

Ah, sorry, I'm surprised I didn't find that when googling. Thank you so much.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest