I have the following files in a `data` directory: `myfile1.txt` `myfile2.jnx` `myfile3.sur`.

I use the below command to copy the contents of the above directory to another location:

```
scp data/* remotehost.example.com:/data/ 

```

However, I find an issue when the contents of the directory are dynamically changed after issuing the command. Like the file `myfile3.sur` changed to `myfile3.sur1` by another application that works on this directory in the background while the first file is still copying.

I know shell would translate `*` to the all the file names in that directory when I trigger my command. Is there a way to tell linux to include the changed/updated files too?