1 2 3 4 5 6
#!/bin/bash for i in $(find ${1}/vnet -name *.api.json -type f -print); do echo ../${i} /usr/share/vpp/api/ >> ${2} done