Clone USB-drive bit for bit

2

I have a USB-drive that is encrypted with Truecrypt. Now, I'd like to make a copy of it from time to time, so I need a method of cloning the USB.

The two USB-sticks are of same size, brand, and type, if that matters.

Jack B

Posted 2014-07-27T18:28:40.750

Reputation: 23

1What operating system are you using? – YtvwlD – 2014-07-27T19:18:00.800

Answers

0

You could use dd.

$ sudo dd if=/dev/<source> of=/dev/<destination>

If you want to know how much has been copied already, you may want to run this instead:

$ sudo dd if=/dev/<source> | pv -s <size in GB>G | sudo dd of=/dev/<destination>

You may need to install pv first.

YtvwlD

Posted 2014-07-27T18:28:40.750

Reputation: 101