metadatacvsrecoverydata-recovery

How to remove CVS metadata from binary files


I was able to recover one of my first Java projects in a CVS repository from 2002, but those files have text metadata mixed with the file data. Most of the text/sourcecode files have the metadata header like that:

head    1.2;
access;
symbols;
locks; strict;
comment @# @;
expand  @o@;


1.2
date    2004.11.13.20.36.01;    author ziegfried;   state dead;
branches;
next    1.1;

1.1
date    2002.12.11.05.49.16;    author ziegfried;   state Exp;
branches;
next    ;


desc
@@


1.2
log
@*** empty log message ***
@
text
@

and the footer metadata like that:

@


1.1
log
@ouxi
@
text
@@

For the source code or XML files I could be able to remove manually, however I have also binary image files.

How could I remove the metadata without damaging the binary files?

I tried the use of AI tools, but I am using the free version that blocks me.


Solution

  • I tried using Tortoise CVS on Windows 11 and had troubles with DLL's, anyway using Linux that was easy ;-)

    cvs -d $repodir checkout -r $branchname $projectname