---

How to exclude file when using scp command recursively

How do I tell scp command to exclude particular file or directory at the Linux/Unix command line? This page explains how to filter or excludes files when using scp to copy a directory recursively.