Dashboard provisioning providers type

Hello,

I have the following providers.yaml file

providers:

  • name: ‘X’
    orgId: 1
    folder: ‘X’
    type: file
    disableDeletion: false
    options:
    path: “/tmp/dashboards/X_*”

  • name: ‘Y’
    orgId: 2
    folder: ‘Y’
    type: file
    disableDeletion: false
    options:
    path: “/tmp/dashboards/Y_*”

I want to provision dashboards in 2 different grafana folders (X and Y), the problem is that all the dashboards are stored in the same filesystem folder “/tmp/dashboards/”, is there an option (e.g. regex or what i tried above with the wildecard) to distribute the dashboards based on their name to separate grafana dirs?

Thank you,
Tudor