I have the following directory and sub directories structure:
eva tree
.
├── 1061
│   └── 2022
│       └── 09
│           └── 21
│               └── a0e51f58-5057-4002-b4c4-d3fb870e9b3a.json
├── 1769
│   └── 2022
│       └── 08
│           └── 30
│               └── e36d8e21-5184-489f-89b5-eb1fd5eba5f6.json
├── 1991
│   └── 2022
│       └── 09
│           └── 16
│               └── 1d0a4162-7e66-44c8-8b61-f3bc5dbdb107.json
I need to move all .json files to root folder eva.
Expected output:
.
│a0e51f58-5057-4002-b4c4-d3fb870e9b3a.json
│e36d8e21-5184-489f-89b5-eb1fd5eba5f6.json
│1d0a4162-7e66-44c8-8b61-f3bc5dbdb107.json
How can I do it using bash?
 
     
    