garzj / google-photos-migrate

A tool to fix EXIF data and recover filenames from a Google Photos takeout, preserving albums within the directory structure.
https://npmjs.com/package/google-photos-migrate
MIT License
104 stars 11 forks source link

Error: ENOENT: no such file or directory, lstat #33

Closed alternativesurfer closed 6 days ago

alternativesurfer commented 3 months ago

migration stopping error:

[Error: ENOENT: no such file or directory, lstat 'K:\photos\historical-google\Photos\VID_20200822_160304.mp4'] {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'lstat',
  path: 'K:\\photos\\historical-google\\Photos\\VID_20200822_160304.mp4'
}

It ran through about 80% of the files before this triggered.

running command with: npx google-photos-migrate@latest full "K:\gp-bak\test" "K:\photos\historical-google" "K:\gp-bak\error" --timeout 60000 -f

garzj commented 1 month ago

Did you solve this by now? I didn't have much time to look into this yet, but it seems hard to reproduce.