possible to generate log file only, without copying files?

Using TestDisk to undelete files
Post Reply
Message
Author
rvijgen
Posts: 2
Joined: 18 Nov 2014, 12:31

possible to generate log file only, without copying files?

#1 Post by rvijgen » 19 Nov 2014, 17:34

Hi,

is it possible to generate a log file only using a scripted run? I would like to create log files of several disks without having to copy everything to another drive first?

Richard

Sponsored links

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

Re: possible to generate log file only, without copying file

#2 Post by cgrenier » 19 Nov 2014, 19:17

If you want a lidt of all the files of the first partition, you can use something like

Code: Select all

testdisk /cmd /dev/sda advanced,1,list,recursive

rvijgen
Posts: 2
Joined: 18 Nov 2014, 12:31

Re: possible to generate log file only, without copying file

#3 Post by rvijgen » 19 Nov 2014, 21:08

Thanks!

I tried your suggestion in testdisk and it worked. However, when I try it with photorec I only get an overview of the partitions, not the files.

I was hoping to get something like the photorec XML that describes the files with an offset and length, so that I can use something like dd to copy individual files. Is that possible?

best,
Richard

Code: Select all

PhotoRec 6.14, Data Recovery Utility, July 2013
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Darwin, kernel 14.0.0 (Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1
Compiler: GCC 4.2
Compilation date: 2014-11-19T17:26:05
ext2fs lib: none, ntfs lib: none, ewf lib: none, libjpeg: 80
Hard disk list
Disk /dev/disk2 - 9064 KB / 8852 KiB - 17704 sectors (RO), sector size=512

Partition table type (auto): EFI GPT
Disk /dev/disk2 - 9064 KB / 8852 KiB (RO)
Partition table type: EFI GPT
     Unknown                        0      17703      17704 [Whole disk]
 1 P MS Data                     2048      10239       8192 [UNTITLED 1] [UNTITLED 1]
     FAT12, blocksize=1024, 4194 KB / 4096 KiB
 2 P MS Data                    10240      16383       6144 [UNTITLED 2] [UNTITLED 2]
     FAT12, blocksize=1024, 3145 KB / 3072 KiB
PhotoRec exited normally.

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

Re: possible to generate log file only, without copying file

#4 Post by cgrenier » 28 Nov 2014, 09:14

Currently it's not possible, it's something that will have to be implemented if you really need this feature.
Maybe http://www.sleuthkit.org/ , a free and open source forensics utility, will provide the feature you are looking for.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests