I am trying to run this command from a script and it seems that it fails to match the value of regex.

```
cat /config.yml_orig >> /build/Product*/config.yml

```

And it fails with 

```
/build/Product*/config.yml: No such file or directory

```

The product number of the directory keeps on changing so I have substituted with `*` but on command line it fails to match the regex for this.

What is the solution for this when the commands fails to identify its a regex.