[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#351440: stop me from clobbering local files with local files



Today's near disaster was
$ scp -v radioscanningtw.jidanni.org/robots.txt gyro.dreamhost.com/media*
Executing: cp radioscanningtw.jidanni.org/robots.txt gyro.dreamhost.com/media*
$ ll gyro.dreamhost.com/media*
-rw-r--r-- 1 jidanni jidanni 275 2008-01-02 11:15 gyro.dreamhost.com/media*

The man page says scp is for remote copying... perhaps it can catch
lack of : by default...

Hmmm, rsync does this too...



Reply to: