You are not logged in.
Hi,
I would like to simultaneously copy photo files from a memory card (in a card reader) both to internal HDD and external USB HDD, using rsync, in a *single* run (instead of running 2 rsync processes and read the same large data twice).
It's a single core (ATOM 450) netbook, and I'm looking to minimize time and power consumption (netbook will work on internal battery during trip).
Can anybody offer me a solution?
Thanks
Best regards,
Michael Badt
Offline
I did this with lame encoding... see my script in the multilame AUR package. Vote for it if you find it useful
Last edited by graysky (2011-06-19 10:23:27)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Thanks, I'll look at it.
Best regards,
Michael Badt
Offline
This is not rsync, but I think that paired with find would be simple and robust enough...
tee /dest/ination1 < /sour/ce > /dest/ination2
Offline
Hi,
I would like to simultaneously copy photo files from a memory card (in a card reader) both to internal HDD and external USB HDD, using rsync, in a *single* run (instead of running 2 rsync processes and read the same large data twice).
It's a single core (ATOM 450) netbook, and I'm looking to minimize time and power consumption (netbook will work on internal battery during trip).
Can anybody offer me a solution?Thanks
Hi mibadt,
AFAIK this is impossible. Rsync generates the deltas between the source(s) and the destination. You have two different destinations to sync to, and want rsync to somehow create a single set of deltas so that it can write it out to the two different destinations!
What you really want to do is just copy the same files from A to B and C, in one process. Creative uses of the tee command (as briest suggested) seems to be the right trick here.
http://en.wikipedia.org/wiki/Tee_(command)
http://www.google.com/search?q=linux+co … stinations
Offline