Bash: scp all files in a directory, but not the subdirectory Bash: scp all files in a directory, but not the subdirectory bash bash

Bash: scp all files in a directory, but not the subdirectory


Don't use the -r flag. It tells scp to copy recursively.