Skip to Content

`scp` copy multiple files

Posted on

Normaly, we can use this command to copy file from remote server:

scp username@remote_host:/home/username/file.txt .

Today I learned that we could use scp command to copy multiple files:

scp'/folder/*.{jpg,png}' .

This is very useful when we want to copy multiple files with same extension :D


comments powered by Disqus