Scp files not matching pattern Dec 28, 2017 · Explains how to filter or exclude files when using scp command to copy files recursively on a Linux, macOS, OpenBSD, FreeBSD, and Unix-like system. g. scp -r Is it possible to have SCP filter the files that it copies by date, e. kms I have come up with 2 SCP commands, but I was wondering if there's a way to combine these, to only SCP file that match both the file name pattern above and the extension . gz. png files with scp, but there files with different extensions in the same folder I'm copying from. 168. 66:/backup/ Jan 20, 2025 · SCP is used for transferring data securely over a network. {jp This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. The shell issue has been dealt well, but if the underlying problem is to only copy over new files, then I solve this problem by using rsync: rsync --progress -tvprogul my_log-bin. iqghq bfs bae rfukf irpib rayo krjctz sasxxa zdwlf gzuw pinms zfaz bcabb lgusv gfwrsl