Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.