I want to copy all files from a remote computer - with some kind of filter. For example, by name: containing the word file
somehow like this:
$ scp user@192.168.1.10:/home/user/$(ls | grep file)
Does not work. How can I do this - without copying the entire contents of the folder and filtering on the local computer?