Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We're using Truecrypt on an 8Gb USB key plugged into a Windows 7 machine. We have 2 other identical keys that we want to replicate that volume to. Is there an easier way than just copying the container over every morning?

Thanks!

share|improve this question
up vote 2 down vote accepted

You could mount each TC container and then use robocopy, a built-in command line tool, to copy over changed files. Use the /MIR command line switch to make an identical copy, including deleting files on the target that have been deleted from the source.

In a bacth file, you could mount both truecrypt volumes and then use robocopy to transfer changed files.

rem mount source as s:, target at t:
TrueCrypt.exe /v e:\source.tc /ls /q /c
TrueCrypt.exe /v f:\target.tc /lt /q /c

rem copy the files
robocopy.exe s:\ t:\ * /mir

rem dismount TC volumes
TrueCrypt.exe /d s:
TrueCrypt.exe /d t:
share|improve this answer
    
Very cool idea. Thanks! – Publiccert Oct 1 '12 at 12:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .