|
|
|
@ -74,7 +74,7 @@ func getJpegsWithoutRawSideCar(jpgFiles []string) []string {
|
|
|
|
|
newFilePath := filepath.Join(dir, newFileName)
|
|
|
|
|
|
|
|
|
|
if exists, err := fileExists(newFilePath); exists {
|
|
|
|
|
logrus.Debugf("Found exising sidecar, keeping jpeg %s", jpgFile)
|
|
|
|
|
logrus.Debugf("Found existing sidecar, keeping jpeg %s", jpgFile)
|
|
|
|
|
|
|
|
|
|
} else if err == nil && !exists {
|
|
|
|
|
logrus.Infof("Found jpeg with missing raw file, schedule for delete %s", jpgFile)
|
|
|
|
|