Hello! Would it be possible to implement a copying process with file patterns to exclude and provide an option (something like -e "pattern1 pattern2 ..." or -e "pattern1" -e "pattern2") for it? Thank you for OpenSSH, guys!
You can do simple wildcarding and patterns through the shell (eg "scp {a,b,c}.tar remotehost:") but other than that, it sounds like what you want is rsync.
We've decided we're not going to be doing this. We're not adding features to scp, and rsync already provides this functionality. Note also that you can also do this via some shell hackery, eg: scp `echo * | egrep -v '.*excludethis.*'` remotehost:
Mass move of bugs RESOLVED->CLOSED following the release of openssh-5.5p1