Another DAM Blog

Blog about Digital Asset Management


10 Comments

How do I avoid duplicate assets in a DAM?

In some cases, organizations have unique file naming conventions, but file names are often created by people, which more often yield not-so-unique file names. One person names a file one way and another person names the exact same file another way because they use it differently or in a different place. While this demonstrates a clear lack of consistency and governance, which happens way too often. This is especially true if you not using a Digital Asset Management (DAM) solution with clear guidelines and stop gaps to catch these sort of things as part of a workflow.

We end up with collections of assets which may have:

  • many similar file names (are these true redundancies or simply the result of a poor file naming convention?)
  • some assets with the same file names (whether the content is the same or not throughout a folder structure)
  • every asset having different file names even though some may be exactly the same (content wise)
  • Assets just copied multiple times across folder structures (which makes sorting by file name out of the question)

So here is the dilemma. What do you do with exact duplicates?

  • Throw away all your IP and start over? (Not wise)
  • Painstakingly open and look through each and every asset to try comparing and contrasting them all, one asset at a time? (some people do this, as painful, time-consuming and expensive as it sounds since it may even take a subject matter expert to review some assets)
  • Have  a computer “just do something about it
  • Use a file browser to make this review process go faster? (getting warmer, but we can actually do better than visually checking each asset, with or without any metadata)
  • And we have not even begun to discuss different versions of the same assets and different file types (different file extensions)
  • What would you do?

Some DAM solutions will look for matching file names and catch those during the upload process to the DAM (based on matching file names, regardless of whether the actual content is duplicated or not, as described earlier).

There is even a better way…

Enter the world of algorithms. Yes, an algorithm is complex code. Do not worry because these complex codes can be nicely packaged into easy to use and very powerful tools for data deduplication (also referred to as ‘deduping’ or ‘dedupe’ in shorthand). The algorithm does a bit-by-bit comparison of each asset, regardless of file name, and creates a checksum. Checksums are a string of letters and numbers (alphanumeric) which act like a fingerprint, unique to that asset. If an asset is an exact duplicate (really beyond any visual comparison), it will produce the same checksum. If two assets have the same checksum, they are exact duplicates.

How does it work with assets?

  • Add a period in a text file
  • Move a line in graphic
  • Clip an audio file
  • Color correct a photograph

Doing any of these changes the bits which make up these assets and that will yield a different checksum. If two assets have the same arrangement of bits, you will likely have the same checksum.

So how accurate is it?

One algorithm called MD5 is accurate to 1 in 1 Octillion (That is 10 to the 27th power or 1,000,000,000,000,000,000,000,000,000 according to most American English standard dictionary numbers). That should be accurate enough for quite a while, don’t you think? Read on. This gets better.

Regardless of the operating system (OS) or the computer (PC/MAC/whatever) you use to run this algorithm, MD5 can catch exact duplicate assets and when it does, it will produce the exact same checksum or fingerprint.

I briefly mentioned MD5 during a metadata webinar and people got really excited.

Where did MD5 come from?

MD5 was originally designed in 1991 by MIT’s Ron Rivest as a cryptographic hash function using 128-bit hash values. While the intelligence community encrypts with other algorithms now due to security concerns, MD5 was a standard among software vendors in order to verify whether a download was exactly as intended to be downloaded (not hacked). MD5 has now been replaced by SHA-256 as a U.S. National Standard. Shying away from a 512 bit algorithm (SHA-512) which are even more taxing to a system, MD5 is still one of the commonly used data deduplication methods. Note that MD5 is not recommended for any SSL, password security or any security today. We are talking about using MD5 just for data deduplication here, not security.

How common is this tool found?

The command for MD5 is built into UNIX machines (Apple’s Terminal application). There are a bunch of PC programs which use MD5 (or SHA-256) and are available online for a nominal fee. Some DAM systems are available with MD5. Some DAM systems are available with a less powerful algorithm called CRC32 which is a 32 bit hash.

What does a MD5 checksum look like?

5d41402abc4b2a76b9719d911017c592

To technology folks, this exciting stuff with major potential. For the rest of us, you do not need to run away, but understand that a DAM should be able to create, read and compare these values.  A DAM should also be able to report on this along with the rest of the metadata for every asset available.

What are the benefits of MD5?

  • We can run MD5 on a collection of assets (in a DAM or not) and compare the checksums. If any checksums match, you just found duplicate assets. Several MD5 tools do this comparison of checksums. Handle duplicates however your organization deems fit in a systematic manner. Just be aware of where the assets were intended to be used, particularly if the file names do not match.
  • We could also search for assets using the checksums (even as metadata on a per asset basis in the DAM if you assign a field to it) to reduce duplicates.
  • We could request for a DAM vendor to compare all checksums in the DAM (one per asset) for any uploads.
  • It is very common to have many duplicate assets within an organization. Some organizations have run MD5 on their assets and reduced duplicate assets by over 80%.
  • MD5 can even work on a string of text (outside of a file) to verify if it is the same as another string of text.
  • This can reduce storage on servers of any duplicates. Why would we want to store exact duplicates repeatedly?
  • MD5 runs on any Operating System and any computer which can handle the checksum function.

What are the risks behind MD5?

  • If we have embedded metadata (metadata embedded inside the asset) that is edited differently between two duplicate assets, you may get a different checksum (duplicate not found).
  • Layered masks not visible to the naked eye may throw MD5 off if one asset has a layered mask and another asset with duplicate content does not (duplicate not found).
  • Collisions may happen. MD5 is no longer recommended for any security needs. SHA-256 trumps MD5.
  • The MD5 tool may tax your system performance while creating and comparing checksums for a collection of assets. SHA-256 is even more taxing on a system. SHA-1 may be less taxing on a system, but can also have collisions (not good for security).
  • This does not necessarily identify nor eliminate all duplicates, but MD5 can help address most of the them.
  • People may continue creating and acquiring duplicate assets, but deduplication on DAM system will help act as a stop gap to additional duplicates being introduced to the DAM.

How to use MD5 on assets?

You could…

  • Run MD5 on all assets already in the DAM (dedupe existing DAM assets)
  • Run MD5 on all assets to be uploaded on a ongoing basis and compare those checksums to the checksums of assets already existing in the DAM (dedupe all asset uploads against existing DAM assets)**

**Note this may, depending on the DAM system, require either:

  • A configuration of the DAM (varies among DAM systems) if it already exists as a feature
  • A customization to the DAM for this process to be automated upon upload (if it is not an available feature to the DAM system)
  • A manual effort prior to upload to DAM or even outside of the DAM (which may catch less duplicates if neither the customization nor configuration is available).

Where can we find more information about data deduplication?

  • Google it.
  • Ask DAM vendor(s) about whether they have some data deduplication methods in their DAM system. Many people (include vendors) may not be aware of the need for data deduplication. If your DAM vendor does not have it, ask for data deduplication to be part of their roadmap of upcoming improvements with accompanying documentation. The more people ask, the more likely the vendor will add this to their roadmap.

Let us know when you are ready for assistance in deduplicating your digital assets for your business or consulting for your Digital Asset Management needs.

How do you avoid duplicate assets in a DAM?


Leave a comment

Do you have unique logins per DAM user?

If you administer a Digital Asset Management (DAM) solution, please vote on this quick, anonymous poll about whether your DAM has a unique login for each DAM user:


Leave a comment

What is the difference between DAM mentoring and consulting?

me During late 2009, I started DAM mentoring program. I had a flurry of emails asking about it and joining the free program daily.

After having the first day of mentoring, I wanted to clarify what DAM mentoring is and what DAM mentoring is not.

DAM mentoring is not consulting. Mentoring is mostly on an individual basis. I am not going to mentor a whole organization.

The other difference is the frequency. DAM mentoring is done a couple times a month and an hour at a time (maximum two hours per month) . DAM consulting is available as often as you need their advice and as long as you pay the consultant(s).

If you happen to be a DAM mentee, but need more frequent advice, I would suggest looking for a consultant. If you already have a consultant and also want mentoring, you are more than welcome. Just note the limited availability of the mentor to mentees. Mentoring is not a replacement for consulting and consulting is not a replacement for mentoring. Mentoring is individualized assistance, guidance and suggestions. The only thing major thing that is similar to consulting and mentoring is the fact that it is still up to you to follow the advice given (or not).

For those that contacted me and joined me for the individual hourly mentoring sessions, everyone:

  • had different questions brought to the table
  • enjoyed the conversation
  • gained something from conversation

On a side note, I had some vendors contact me about the mentoring program. Some were interested in mentoring for me. Some were even interested in being mentored. After careful consideration, I had to turn them all down since I remain vendor agnostic and so does this mentoring program. I talk with many various DAM vendors regularly, but it is not realistic to subject mentees to guidance by any specific vendor. It would also not be fair to other DAM vendors either. As for those vendors wanting to be mentored, I suggest they first learning the ins and outs what their own solution does and then take a look at other DAM vendors for comparison.

So, mentoring is free and consulting is not. And in all fairness, it should stay that way. If you are interested being mentored, feel free to contact me and we can schedule something together. If you interested in a DAM consultant, be aware of whether they are partial to particular vendors, especially if you are being consulted in the vendor selection process.

Who do you turn to for DAM advice before, during and well after the DAM implementation?