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 username@remote_host.com:'/folder/*.{jpg,png}' .

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

References

comments powered by Disqus