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
possible to generate log file only, without copying 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
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
- cgrenier
- Site Admin
- Posts: 5437
- Joined: 18 Feb 2012, 15:08
- Location: Le Perreux Sur Marne, France
- Contact:
Re: possible to generate log file only, without copying file
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
Re: possible to generate log file only, without copying file
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
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.
- cgrenier
- Site Admin
- Posts: 5437
- Joined: 18 Feb 2012, 15:08
- Location: Le Perreux Sur Marne, France
- Contact:
Re: possible to generate log file only, without copying file
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.
Maybe http://www.sleuthkit.org/ , a free and open source forensics utility, will provide the feature you are looking for.