command line for generate yml file from image directory and matching