CLI photo import and bulk photo delete

I just used the cli tool to bulk import my photos and I noticed hundreds of photos have the current date. I figured out its because the metadata was incorrectly named (not sure why)
i.e. IMG_0044 (2).JPG.json and the file is IMG_0044(2).JPG

I want delete all those photos and start over after I rename them all to remove the space in the file name.

In doing this I also realized I forgot to add the --album flag, so I would like to remove all the photos I just added.

What is the best way to do this?

Thanks
Was this page helpful?