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: Failed to find Google Photos directory in folder #24

Closed azsde closed 6 months ago

azsde commented 6 months ago

Hello,

I have installed NodeJS & Yarn as per the instructions on my windows machine, but when launching the following command:

npx google-photos-migrate@latest full 'G:\GoogleTakeout\Takeout\' 'G:\GoogleTakeout\output\' 'G:\GoogleTakeout\error\' --timeout 60000

I get the following error:

Error: Failed to find Google Photos directory in folder: G:\GoogleTakeout\Takeout\

However there IS a "Google Photos" directory in "G:\GoogleTakeout\Takeout\", I'm not sure what is going on here.

garzj commented 6 months ago

On Windows, try using double instead of single quotes, otherwise they'll be included in the argument.

I'm not quite sure though because of the path in the error message.