Suggestions for Synology Users #157
Replies: 4 comments 10 replies
-
Sponsoring you for the year @TheLastGimbus as a thank you! |
Beta Was this translation helpful? Give feedback.
-
Nice of you! If you would want to, we could make some
Hmm, if you intend to leave them there, this shouldn't be an issue, because gpth copies each file, changes it's date and it's done - it doesn't modify them afterwards or anything. But yeah, you may want to stop this
Umm... ;_; Bro, you can just use cli options to skip whole desktop-enviroment-pickers stuff: $ unzip takeout.zip
$ gpth --input takeout/ --output my-photos/
# Should work perfectly on any distro Funny thing, gpth is recommended in offical synology faq 😅 https://kb.synology.com/en-in/DSM/tutorial/How_do_I_migrate_photos_from_Google_Photos although it's old python version
Big thanks! Will definietley enjoy some coding'n'pizza with this <3 |
Beta Was this translation helpful? Give feedback.
-
Hello, everyone. Thanks for your work. I do not understand many steps due to language and know how. I'm getting freak to fix this problem on my photo folder in synology. Is there some one that could explain me what to do step by step for running it? |
Beta Was this translation helpful? Give feedback.
-
Download Script:OrganizeTakeoutPhotos_v1.1.2.zip Instructions:I have prepared the attached scripts pack that you can copy and unzip into any folder of our Synology NAS. Once unzipped you have to paste the Takeout Zip files on the folder called 'Zip_files' which is the default folder or if you prefeer you can put them in any other subfolder and use the option --zip-folder <folder_name> to indicate it. (Note: paste all Zip files downloaded from Google Takeout directly on that folder, without subfolders inside it). Then you just need to call from SSH terminal the master script 'OrganizeTakeoutPhotos.run' (ensure that it has execution permissons) and that's it. Syntax:
Process Explained:The whole process will do the next actions if all flags are false (by default):
The result will be a folder (called Takeout_fixed_{timestamp} by default, but you can specify any other with the option --takeout-folder <folder_name> or change the default suffix 'fixed' by any other using the option --suffix <desired_suffix>) which will contains:
Finally you just need to move the output folder (Takeout_fixed_{timestamp} by default) into your /home/Photos folder and let Synology to index all files (it will take long time). After that you will be able to explore your photos chronologycally on the Synology Photos App, and all your Albums will be there when you explore the library by folder instead of chronologycally. I hope this can be useful for any of you. It was very useful for me when I used it to retrieve more than 300 GB of Photos and Albums from Google Photos to move it into Synology Photos. The whole process took around 2.5 hours (extraction process around 1.5h while fixing and sorting process around 1h) to complete runing it directly on a Synology NAS DS920+ using SSH terminal. Additional Trick!When prepare Google Takeout to export all your Photos and Albums, select 50GB for the zip file size and select Google Drive as output for those Zip files. On this way you can just Download all the big Zip files directly on your Synology NAS by using the Tool Cloud Sync (included on Synology App Store) and creating a new synchronization task from your Google Drive account (/Takeout folder) to any local folder of your Synology NAS (I recommend to use the default folder called 'Zip_files' within this script folder structure) Enjoy it! |
Beta Was this translation helpful? Give feedback.
-
Thanks for this script, this is super helpful. I'm running a Synology and thought I'd contribute a couple tips that others might find useful.
./gpth-linux
from SSH, it likely won't work because (I believe) it is expecting a typical linux window environment. What worked for me was to run this on another machine and select the folders over the Samba share, so mount thesmb://synology
, selectphoto
or some other directory, then running./gpth-macos
Beta Was this translation helpful? Give feedback.
All reactions