<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>
<div>I did but not the javascript version; that fixed it. Thanks! -k</div>
<div>
<div id="MAC_OUTLOOK_SIGNATURE"></div>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:12pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span><<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>> on behalf of "<a href="mailto:chris.fitzpatrick@lyrasis.org">chris.fitzpatrick@lyrasis.org</a>"
<<a href="mailto:Chris.Fitzpatrick@lyrasis.org">Chris.Fitzpatrick@lyrasis.org</a>><br>
<span style="font-weight:bold">Reply-To: </span>Archivesspace Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@lyralists.lyrasis.org</a>><br>
<span style="font-weight:bold">Date: </span>Wednesday, April 20, 2016 at 12:41 PM<br>
<span style="font-weight:bold">To: </span>Archivesspace Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@lyralists.lyrasis.org</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [Archivesspace_Users_Group] Container Checker<br>
</div>
<div><br>
</div>
<div><style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><br>
</p>
<p>Hi Kevin,</p>
<p><br>
</p>
<p>Yeah, did you install daff? <br>
</p>
<p><a id="LPlnk596022" href="https://github.com/paulfitz/daff">https://github.com/paulfitz/daff</a></p>
<p><br>
</p>
<p>The script is using the javascript version of daff ( npm install daff -g ). <br>
</p>
<p>( you have to have nodejs installed ). <br>
</p>
<p><br>
</p>
<p>b,chris <br>
</p>
<p><br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div class="BodyFragment"><font size="2">
<div class="PlainText">Chris Fitzpatrick | <font size="2">Developer, ArchivesSpace</font><br>
Skype: chrisfitzpat | Phone: 918.236.6048<br>
<a href="http://archivesspace.org/">http://archivesspace.org/</a><br>
</div>
</font></div>
</div>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri,sans-serif" color="#000000"><b>From:</b>
<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">archivesspace_users_group-bounces@lyralists.lyrasis.org</a> <<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>>
on behalf of Kevin Clair <<a href="mailto:Kevin.Clair@du.edu">Kevin.Clair@du.edu</a>><br>
<b>Sent:</b> Wednesday, April 20, 2016 8:34 PM<br>
<b>To:</b> Archivesspace Users Group<br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] Container Checker</font>
<div> </div>
</div>
<div>
<div>
<div>Hello,</div>
<div><br>
</div>
<div>Tried to run this; couldn’t figure out how to run ‘daff’ from command line. Has anyone been successful with that? The project readme isn’t very clear on it (to me, anyway). -k</div>
<div>
<div id=""></div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:12pt; text-align:left; color:black; border-bottom:medium none; border-left:medium none; padding-bottom:0in; padding-left:0in; padding-right:0in; border-top:#b5c4df 1pt solid; border-right:medium none; padding-top:3pt">
<span style="font-weight:bold">From: </span><<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>> on behalf of "<a href="mailto:chris.fitzpatrick@lyrasis.org">chris.fitzpatrick@lyrasis.org</a>"
<<a href="mailto:Chris.Fitzpatrick@lyrasis.org">Chris.Fitzpatrick@lyrasis.org</a>><br>
<span style="font-weight:bold">Reply-To: </span>Archivesspace Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@lyralists.lyrasis.org</a>><br>
<span style="font-weight:bold">Date: </span>Monday, April 18, 2016 at 5:38 AM<br>
<span style="font-weight:bold">To: </span>Archivesspace Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@lyralists.lyrasis.org</a>><br>
<span style="font-weight:bold">Subject: </span>[Archivesspace_Users_Group] Container Checker<br>
</div>
<div><br>
</div>
<div>
<div dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi,</p>
<p><br>
</p>
<p>I put together some SQL queries that might help some people verify their data post-container conversion.
<br>
</p>
<p><br>
</p>
<p>Have a look at :<a title="Cmd+Click or tap to follow the link" id="LPlnk184619" href="https://github.com/archivesspace/container_checker"> https://github.com/archivesspace/container_checker</a></p>
<p><br>
</p>
<p>There's a few things here: <br>
</p>
<p><br>
</p>
<p><a href="https://github.com/archivesspace/container_checker/blob/master/container.sql">A SQL script</a> to dump out a CSV file of all your containers and their associated resources/accessions/archival objects and locations.
</p>
<p><br>
</p>
<p><a title="Cmd+Click or tap to follow the link" href="https://github.com/archivesspace/container_checker/blob/master/top_container.sql">Another SQL scrip</a>t to pull out a CSV file of all you top_containers and their associated resources/accessions/archival
objects and locations </p>
<p><br>
</p>
<p>A <a href="https://github.com/archivesspace/container_checker/blob/master/cc.sh">shell script</a> to run both the container and top_container SQL queries and diff them using the excellent
<a title="Cmd+Click or tap to follow the link" href="https://github.com/paulfitz/daff">
Daff </a>library and make a HTML table that shows the changes. ( script is linux only...sorry
<img alt="☹" class="EmojiInsert" style="vertical-align:bottom" src="cid:3554293b-f990-4d57-ad6d-f9dd6f035984"> )
</p>
<p><br>
</p>
<p>In theory, the CSV files should be identical after conversion. In reality, this won't be the case since the data can change for a variety of reasons ( most of them beneficial ). However, you can get an overview of what's going on with this and look at it
in the comfort of Excel or your preferred Excel alternative. </p>
<p><br>
</p>
<p>Please give a go and let us know what you think. If you don't feel capable, or are too busy, or your IT guy is too busy, you can email me an MySQL dump of your database ( zipped up, please ) and I can send you back csv files and html output.
<br>
</p>
<p><br>
</p>
<p>I'm also working on something to do a pre-flight conversion check that will try and call out some potential issues with conversion, which I should have done in the next 24 hours or so.
<br>
</p>
<p><br>
</p>
<p>Thanks and let us know what you think. </p>
<p><br>
</p>
<p>best, Chris. <br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p> <br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div class="BodyFragment"><font size="2">
<div class="PlainText">Chris Fitzpatrick | <font size="2">Developer, ArchivesSpace</font><br>
Skype: chrisfitzpat | Phone: 918.236.6048<br>
<a href="http://archivesspace.org/">http://archivesspace.org/</a><br>
</div>
</font></div>
</div>
</div>
</div>
</div>
</div>
</span></div>
</div>
</div>
</div>
</div>
</span>
</body>
</html>