Secure move

Martin `MJ' Mares mj na ucw.cz
Pondělí Leden 16 14:49:27 CET 2006


Hello, world!\n

> ssh user na ip 'cat subor && rm -f subor' >subor

Tohle nefunguje -- spojeni se muze rozpadnout drive, nez se prenesou
vsechna data, ale pritom rm uz mohlo dobehnout.

Fungovalo by:

ssh u na i 'cat soubor' >soubor && ssh u na i 'rm soubor'

				Have a nice fortnight
-- 
Martin `MJ' Mares   <mj na ucw.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
The number of UNIX installations has grown to 10, with more expected.  (6/72)


Další informace o konferenci Linux