evanmac
December 24, 2022, 9:45am
1
Hi all,
I setup and run the google migrate app, and all went well importing contacts, calendar AND photos.
So I (the nc plugin) imported almost 12k photos from my google dir in a dedicated folder, without metadata but with correct creation date.
Now I’d like to have them all organized like the import in NC (folder and subfolders based on year and month), but I don’t know how to achieve it.
Is there an app, a script, something that would read all the photo from the dedicated folder and put them in correct folder like year/month?
Many thanks in advance, Nicola
ligal
December 24, 2022, 6:13pm
2
Hi,
If I were you, I would sync my computer folder with my NC instance (Nextcloud desktop or webdav).
Then I would use python or bash to organize my photos.
I believe it would be very simple and do not need a lot of experience to do it in python since there is a lot of common libraries for this language and the code would be straightforward.
evanmac
December 24, 2022, 6:17pm
3
ligal:
Hi,
If I were you, I would sync my computer folder with my NC instance (Nextcloud desktop or webdav).
Then I would use python or bash to organize my photos.
I believe it would be very simple and do not need a lot of experience to do it in python since there is a lot of common libraries for this language and the code would be straightforward.
I moved all gphotos away from nc folder, and I’m (re)organizing using the command issued in this message:
Any news on this?
I do this from linux with following these steps:
Copy the pictures I want to /Photos folder
Execute this command for every year, i.e. for 2021:
find ./ -maxdepth 1 -type f -newermt 20210101 -not -newermt 20211231 -name "*.jpg" -exec mv {} 2021/ \;
This will move all photos in /Photos folder taken in 2021 to /Photos/2021
As you can see you have to specify the date start (newermt parameter), the date end (not newermt parameter) and the destination folder (2021/)
I do this …
It’s a long way (and somehow tedious) but it’s working
Then I’ll upload them into correct nc folder…