custom extension's signature at the end

Using PhotoRec to recover lost data
Post Reply
Message
Author
elaci0
Posts: 3
Joined: 25 Jun 2017, 22:02

custom extension's signature at the end

#1 Post by elaci0 » 27 Jun 2017, 07:42

Hello there and thanks for the great piece of software!
I was wondering if you plan to add a signature check that "starts" from the end of the file to work in couple with the signature at its beginning.
e.g., I'm trying to recover some SVG files from inkscape, some files seems to be ok some others don't and looking at the recovered files I see that a lot of other stuff is "added" after the "/<svg>" which closes a file.

a.

Sponsored links

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

Re: custom extension's signature at the end

#2 Post by cgrenier » 27 Jun 2017, 18:33

Can you check the end of the recovered file ? I think there is a </svg> tag at the end.
PhotoRec truncate the file after the last </svg> tag.

elaci0
Posts: 3
Joined: 25 Jun 2017, 22:02

Re: custom extension's signature at the end

#3 Post by elaci0 » 28 Jun 2017, 13:51

I'm afraid it's not skipping the rest of the "file":

Code: Select all

  <g
     inkscape:groupmode="layer"
     id="layer3"
     inkscape:label="Drawing Area" />
</svg>
^@^@^@^@   <------ tons of binary data like this but other too

..and I've many recovered files like this. I guess (still have to try) that in this case cutting the file by hand may help with the recovery.
this is why I've asked if there could be the possibility to "cut" the file at the ending signature.
with regards,
a.

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

Re: custom extension's signature at the end

#4 Post by cgrenier » 29 Jun 2017, 18:34

Can you provide a recovered svg file ?
Thanks

elaci0
Posts: 3
Joined: 25 Jun 2017, 22:02

Re: custom extension's signature at the end

#5 Post by elaci0 » 11 Jul 2017, 08:10

Sorry, I was away.
Do you mean a tipical SVG working file or something "bad" recovered by Photorec? I'm afraid the latter might be very huge but you can get it from here:
http://psy.cns.sissa.it/DOWN/f142623648.svg.gz

thanks a lot!

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests