-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command failed with exit code 2. #43
Comments
You need three folders:
You need to provide three separate arguments,
|
Thank you so much Matt, it worked. Although the exif data in my Google takeout was incorrect by few hours. Because in my file "properties > Details > Origin > Date taken" - I can see the correct information. But this git definitely worked. I am a not technical guy and I did not know how to run this. I tried in vs code and searched google, took help from ChatGPT, Google Gemini but nothing worked. Finally I found a post by "Xnehaxixh" (https://github.com/Xnehaxixh) commented on Sep 7, 2023 And with the next step Matt "mattwilson1024" helped me. So here is how it works, if someone like me is trying to find the solution to Google photos takeout mess:
I hope this helps someone. Cheers! |
I installed node, installed yarn and imported the repo from cmd.
I have "mp4, mov, jpg, heic, png, 3gp, jpeg, gif, mo, webm, dng, webp" in the zip extracted folder.
Or do I have to keep only zip file in the inputDir?
As suggested: "yarn start --inputDir ~/takeout --outputDir ~/output --errorDir ~/error"
My folders are "yarn start --D:\Trial ~/takeout --D:\Output ~/output --D:\Error ~/error"
this gave me error and I tried several other formats. I am getting same error. Please see below:
C:\Users\Mayur Satpute\google-photos-exif>yarn start --D:\Trial D:\Output D:\Error
yarn run v1.22.22
$ ./bin/run --D:\Trial D:\Output D:\Error
» Error: Unexpected arguments: --D:\Trial, D:\Output, D:\Error
» See more help with --help
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
C:\Users\Mayur Satpute\google-photos-exif>yarn start "D:\Trial" "D:\Output" "D:\Error"
yarn run v1.22.22
$ ./bin/run D:\Trial D:\Output D:\Error
» Error: Unexpected arguments: D:\Trial, D:\Output, D:\Error
» See more help with --help
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
C:\Users\Mayur Satpute\google-photos-exif>yarn start --D:\Trial --D:\Output --D:\Error
yarn run v1.22.22
$ ./bin/run --D:\Trial --D:\Output --D:\Error
» Error: Unexpected arguments: --D:\Trial, --D:\Output, --D:\Error
» See more help with --help
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
C:\Users\Mayur Satpute\google-photos-exif>yarn start --D:\Trial ~/takeout --D:\Output ~/output --D:\Error ~/error
yarn run v1.22.22
$ ./bin/run --D:\Trial ~/takeout --D:\Output ~/output --D:\Error ~/error
» Error: Unexpected arguments: --D:\Trial, ~/takeout, --D:\Output, ~/output, --D:\Error, ~/error
» See more help with --help
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The text was updated successfully, but these errors were encountered: