5

Avoiding file overwrite during file transfer using scp

view full story
linux-howto

http://www.unix.com – Hi, I have written a small script to transfer a file from one unix server to other using scp command which is working fine. As I know with scp, if any file with the same name is already present on destination server, it would get overwritten without any notification to user. Could anyone help me getting a notification before file gets overwritten? (HowTos)