Stories
Slash Boxes
Comments

SoylentNews is people

Journal by cafebabe

In response to SID22548, CID596405, regarding quick duplication of files onto external USB storage, I wrote a utility for this purpose. Buy some 10 port USB hubs or suchlike. Buy required storage. Run utility and mount first batch of USB storage units. Press return key. When prompted, unmount storage. Press return key. Repeat as required.

The utility makes several assumptions including where storage appears in a filing system, available storage on external volumes and handling of special filehandes (if any). For efficient use, it also assumes that disk buffers are sufficiently large for parallel copying to multiple volumes. (Copying may be exceptionally slow if available buffers are exceeded.) It also assumes that sync is a reliable checkpoint operation and this is known to be a fraught assumption.

begin 644 duplicate.pl.gz
M'XL(`'_L%%H"`ZU4WV_;-A!^UU]Q<;1(6AI3\I*UBZ-T6S,,`88^)-WV$&<`
M+=$Q$8G42*J.T;I_^X[4S[@;5F#SB\6[[[X['K^[PP-2:T667)"*J0).?O>\
M0[@U4M$'!E=U5?",&BX%W&:*5P:=7!@F<I;#2BK(N3:*+VL'D2M8\8)IP.]?
M;W\$W=)0#3G3&+_$*"Y@;4RESPG1<ELP803;Z*E4#R2398EG/:V*UYKGZ6QV
M=OKJ*,.OL^^^/8W/#EO`1M$*"PG?1+,X>0GOU@S>2*&E,KPNI_8"UIXDR2LL
M@2KC>;I>0D45+>&#!U`IO`/<OKOZZ>8&)GY\#K7&.L_!CX%4U*R)D5A<K3)&
M<JY8AO?8PEWOHK61I:R%&;SW"S&9(S5[XB:<17-OUR3-UBQ[=$E]Q*9ZS5?&
MXO@J/#AASA@Y=U?5Q":!P#H"R"4V4TAC:;69MCG:+-]$]K#KR/)_(^,-55_R
M'MWI<SKUA72*T9PN"[;'=M:S*69J)?J&+&GV:'C7DZS,AY[X"$V#P'[*BHGP
M^FW\8F(A\'$2=8!I>H'V2WO,"JF91?7.]),F=PNQ4/?'/B%2/[/#PC0N`JVK
M*2VTB.;%\.8ZHP55X?<_W/S\6W21-`TX<MH)'<C7*DM]Z[Z+[^<VQ%D^D3\6
M)^1S^#[EY>P+,&D+\G-MVES)?2L;9QMG&W/9EN^`%9HU\55!TZ.NY6%0"UHR
M.-%!U)$A`-B?$/S"1?T4=(0^[H1QW&8M:<F;J+:J"2E9SBFQT/;A>TUKTQ&U
MX*`!!PW.JF)49*\NII14YX`E&5PM)=3B4<B-F**%403KBF5\M855713@I&@D
M4`']./ZCMN.GY&77'>_(S:1[-;1U)UOTW/,V:UQ@8?OL7]G:F[9:02)[>'5]
M$[]HP0`-.F<K+E@>^JQ@<6H'HD-&4=]1#/G@`+LTZ4;#";C'SOO--&EOP[3A
MHMF^[V51E[@,S)H)1#&M6_5V-[W`=7;]ULV%OY(R3N/_HVS[I#UNN$(T>E],
MEC3)[&^4,'$)IP$)IBXJZC"?IT_&Z9-H1-^HU$(.K.:G.+EC9YO_^'C>FW;>
M\_]QDY.^!LMJ(R_C,5W;_J;9=M%I0USM0;.%R\IL47&Y?0;%4*0HRD=>55P\
M#(K;$_>(-Y/5%J&P4K)$=A0@^3JP(AYG&A,!Z*TVK`PG604G%>YD%P,#?!(-
M6/?N0RMVP[!Y/5&@MR(;QM\I)8WWUCS>=6WKQ'HYR[N"_FYD&X2]@J/J9-J'
3#)*NQ7\1->[FOP#Q>W/<J@@`````
`
end

(Usual instructions for uudecode process.)

 

Post Comment

Edit Comment You are not logged in. You can log in now using the convenient form below, or Create an Account, or post as Anonymous Coward.

Public Terminal

Anonymous Coward [ Create an Account ]

Use the Preview Button! Check those URLs!


Logged-in users aren't forced to preview their comments. Create an Account!

Allowed HTML
<b|i|p|br|a|ol|ul|li|dl|dt|dd|em|strong|tt|blockquote|div|ecode|quote|sup|sub|abbr|sarc|sarcasm|user|spoiler|del>

URLs
<URL:http://example.com/> will auto-link a URL

Important Stuff

  • Please try to keep posts on topic.
  • Try to reply to other people's comments instead of starting new threads.
  • Read other people's messages before posting your own to avoid simply duplicating what has already been said.
  • Use a clear subject that describes what your message is about.
  • Offtopic, Inflammatory, Inappropriate, Illegal, or Offensive comments might be moderated. (You can read everything, even moderated posts, by adjusting your threshold on the User Preferences Page)
  • If you want replies to your comments sent to you, consider logging in or creating an account.

If you are having a problem with accounts or comment posting, please yell for help.