equivalent of ftp put and append in scp equivalent of ftp put and append in scp unix unix

equivalent of ftp put and append in scp


Put is just the normal scp

scp /path/to/source user@host:/path/to/target

Append only works with a little hack (and not with scp directly)

cat source | ssh user@host "cat >> /path/to/target"


scp can not append (ssh can, but it is not always an option). You can copy remote file, append it locally and then put it back.