In a previous post, I asked a question about simply right-click copy and paste in Nautilus sometimes cannot handle files with special characters in their names under Ubuntu.
Later I found that scp seems to be able to solve this problem. Perhaps cp also can, but I haven't been able to tried yet.
So I was wondering in what situations scp and cp will fail to copy files/directories?
If I want to copy all contents under directory "source" to be under another one "destination", my command will be:
scp -r source/* user@server:destination
I was wondering if I want to copy just some not all subdiretories/files, i.e. excluding other subdirectories and files, under "source" to be under "destination", how to write a command?
Thanks!