Skip to content
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

json files with capital JPG #7

Open
kennhardy opened this issue Dec 29, 2020 · 1 comment
Open

json files with capital JPG #7

kennhardy opened this issue Dec 29, 2020 · 1 comment

Comments

@kennhardy
Copy link

kennhardy commented Dec 29, 2020

I recently (24th of December) took out an export from Google Photos and the json files are as follows:

P7040106.jpg
P7040106.JPG.json
P7040110.jpg
P7040110.JPG.json
P7040113.jpg
P7040113.JPG.json
P7040118.jpg
P7040118.JPG.json
P7040121.jpg
P7040121.JPG.json

This unfortunately means the app is not able to match the json file since the naming differs and the app is case sensitive. How may i change the suffix it matches to? Or is everything hardcoded to match for "filename.json"?

@Nathan1258
Copy link

Nathan1258 commented Dec 31, 2020

I recently (24th of December) took out an export from Google Photos and the json files are as follows:

P7040106.jpg
P7040106.JPG.json
P7040110.jpg
P7040110.JPG.json
P7040113.jpg
P7040113.JPG.json
P7040118.jpg
P7040118.JPG.json
P7040121.jpg
P7040121.JPG.json

This unfortunately means the app is not able to match the json file since the naming differs and the app is case sensitive. How may i change the suffix it matches to? Or is everything hardcoded to match for "filename.json"?

To bypass this I simply ran

for i in *; do mv "$i" "$(echo $i|tr A-Z a-z)"; done

within the folder that's having that issue to change all the letters to lowercase. Do this for every album/year

Im assuming you're using macOS by the way...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants