Can I make scp ask before overwriting an existing file?

Posted by Boldewyn on Super User See other posts from Super User or by Boldewyn
Published on 2010-04-16T19:14:57Z Indexed on 2010/04/16 19:23 UTC
Read the original article Hit count: 263

Filed under:
|
|
|
|

Is there a possibility (man scp didn't reveal any) to make scp interactive like cp -i? That is, scp asks, if the target exists, if it may overwrite it?

If yes, does it work locally and remote?

If no: Let's alias it! But I hope for a simpler solution.

© Super User or respective owner

Related posts about scp

Related posts about remote