Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8041

Other projects • Re: RPi USB Duplicator?

$
0
0
Hi,

I needed exactly this.

Buy a USB hub and plug it into your normal computer.
Buy whatever media you need (I was duplicating Micro SD Cards, so I had micro sd cards in USB holder convert things)

Plug them all in.

Each slot of the USB hub will initialise as a drive.
E:
F:
G:
H:
I:

(I used a hub with 5 slots)

Then on your normal computer, create a shell script (bash if you are on mac)

That simply says

"copy from wherever you've put your image/files to E,F,G,H,I"

This should be about 5 lines of code you can save in a script.

Every time you load your USBs, run the command from a terminal and it will duplicate them.

I had to do this for hundreds (about 700!) micro sd cards, for a business, and it's surprisingly quick, once you've written the script.
It's repeatable is the important thing, load the media, and type ./copyusb.sh in a terminal window.

Hardware will cost you about £15 from amazon.

Statistics: Posted by PA28-140 — Wed Dec 17, 2025 4:14 pm



Viewing all articles
Browse latest Browse all 8041

Trending Articles