logrus.Infof("Found %d of %d images to delete in %s",len(filesWithMissingSidecar),len(jpgFiles),imagesRootFolder)
//todo: this check needs to be performed by each directory and if true, skip the directory but not all
iflen(jpgFiles)==len(filesWithMissingSidecar){
logrus.Warnf("Did not find any sidecar files in %s. Are you sure this is the right path to look for jpgs without raw sidecars? Cancelling executing!",imagesRootFolder)
logErrorAndExit(errors.New("Total files of jpegs and missing sidecars are the same, cancelling!"),3)
}
if!(*dryRun){
logrus.Infof("Starting to delete %d files...",len(filesWithMissingSidecar))
deleteFiles(filesWithMissingSidecar)
}else{
logrus.Warnln("Skipping delete of images as flag dryRun is set to true!")