💻 Software
Can I make scp ask before overwriting an existing file?
Fresh5 days ago
Mar 15, 20268137 viewsConfidence Score0%
0%
Problem
Is there a possibility ( didn't reveal any) to make scp interactive like ? 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 it! But I hope for a simpler solution.
Error Output
man scp
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Can I make scp ask before overwriting an existing file?
Low Risk
No. It was intended to operate as a direct, but secure, replacement for rcp and the -i option wasn't something rcp had, so it isn't found in vanilla scp. You might prefer to use the Secure File Transfer Protocol (SFTP) via the sftp command instead. …
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix