Suggestions for Synology Users #157
Replies: 11 comments 51 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.
-
📈 Repo Statistics📸 PhotoMigratorThis tool has been designed to Interact and Manage different Photo Services such as Google Photos, Synology Photos, Immich Photos, Apple Photos & NextCloud, and allow users to do an Automatic Migration from one Photo Cloud service to other or from one account to a new account of the same Photo Cloud service. The Tool supports multiple accounts for the same service, so you can migrate your assets between different accounts of the same service. 🖥️ Live Dashboard Preview🌟 Main Modules:🚀 1. Automatic MigrationThe main use case is the Automatic Migration Feature to migrate all your photos and videos from one Photo cloud service to other, or between different accounts of the same service. 🛠️ 2. Google Takeout FixingOther important feature included in the tool is the Google Takeout Fixing. This feature has been designed to automatically analyze your Google Photos Takeout, extract all the information from the sidecar JSON files (or guess some missing information using heuristics algorithms) and embeds all the extracted info into each asset file using EXIF tags. In this way your Media Library will be ready to be migrated to any other Cloud Photo services without losing any important info such as, Albums info, Original date, GPS location, Camera info, etc... But this feature also helps you to organize and clean your Media Library removing duplicates, creating Year/Month folder structure, creating symbolic links for Albums assets, Auto renaming Albums to clean their names and include a prefix with the date of its assets, etc... The whole process is done in an automatic way and is divided in different steps (some of them are optionals). Below you can see the different steps of this feature: 1. Pre Checks steps
2. Pre Process steps
3. Process steps
4. Post Process steps
🖼️ 3. Synology Photos / Immich Photos / Apple Photos / Google Photos / NextCloud Photos ManagementApart from the 'Automatic Migration' and 'Google Takeout Fixing' features, you can use the tool also to manage different Photo Cloud Services.
Important 🧩 4. Other Standalone FeaturesFinally, the Tool also contains Other Useful Standalone Features such as:
💾 DownloadDownload the tool either for Linux, MacOS or Windows (for both x64 and arm64 architectures) or Docker version (platform & architecture independent) as you prefer, directly from following links: Or check the Changelog to choose any specific release. Note The Tool is Multi-Platform and Multi-Architecture, and has been designed to be run directly within a Linux Server or NAS such as Synology NAS (Compatible with DSM 7.0 or higher), so feel free to download the version according to your system. You can also execute the Tool from a Docker container or from sources files for a better compatibility. In below sections you can find the execution instructions to run the Tool from the different methods. ⚙️ Configuration FileIn order to connect to the different Photo Cloud Services, you must configure the connection settings using the Configuration file You can see how to configure the Configuration File in this help section: ⌨️ Command Line InterfaceThis Tool is based on commands given through the Command Line Interface (CLI), so it is important to know the syntax of that interface. You can check the whole list of features and arguments with the right syntax here: 📚 Arguments DescriptionCheck all arguments descriptions and usage examples in the Arguments Description or in the shorter version. 📘 All Documentation Links
|
Execution Method | Difficulty | Pros | Cons |
---|---|---|---|
Binaries | 🟢 | ✅ Only basic knowledge on command line commands needed | ❌ Platform and architecture dependent ❌ Need basic knowledge of running command line instructions ❌ Some anti-virus may detect the tool as suspicious in Windows systems |
Docker | ⭐ | ✅ Platform and architecture independent ✅ Easy configuration via docker.config ✅ Automatically pulls latest image if RELEASE_TAG=latest |
❌ Need intermediate knowledge of running command line instructions ❌ Need to install Docker (if not already installed) ❌ All paths given as arguments must be relative to the execution folder |
Source | 🔴 | ✅ Platform and architecture independent | ❌ Need advance knowledge of running command line instructions ❌ Need to install Git and Python 3.8+ (if not already installed). ❌ Need to pull the source repository again to update to a new release |
🟢 Easiest way ⭐ Recommended 🔴 More difficult
🆚 Execution Methods Comparison Rating
Feature | Binaries (easiest way) |
Docker (recommended) |
Source (more difficult) |
---|---|---|---|
Platform and architecture independence | ⭐☆☆☆☆ | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ |
Ease of updating to new release | ⭐⭐⭐☆☆ | ⭐⭐⭐⭐⭐ | ⭐☆☆☆☆ |
Allow paths arguments point outside execution folder | ⭐⭐⭐⭐⭐ | ⭐☆☆☆☆ | ⭐⭐⭐⭐⭐ |
No Requires Technical knowledge (Command line syntax) | ⭐⭐⭐⭐⭐ | ⭐⭐⭐☆☆ | ⭐☆☆☆☆ |
No Requires additional tools/software | ⭐⭐⭐⭐⭐ | ⭐⭐⭐☆☆ | ⭐☆☆☆☆ |
No Risk of Antivirus alert (especially on Windows) | ⭐⭐☆☆☆ | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ |
Average Rating | ⭐⭐⭐⭐☆ | ⭐⭐⭐⭐☆ | ⭐⭐⭐☆☆ |
Average Score | 3.5 | 3.7 | 3.0 |
📝 CHANGELOG
The Historical Change Log can be checked in the following link:
Changelog
📅 ROADMAP
The Planned Roadmap for futures releases can be checked in the following link:
Planned Roadmap
🛡️ CODE OF CONDUCT
By participating in this project, you agree to abide by our Code of Conduct.
📢 Disclaimer
⚠️ The project is under very active development.⚠️ Expect bugs and breaking changes.
📊 Repository activity
📈 Star History
👥 Contributors
🤝 Related Projects
- Synology Photos Create albums full of precious moments, share your perfectly framed photos, and store them securely on your Synology NAS.
- Immich Photos High performance self-hosted photo and video management solution.
- NextCloud Photos Your memories under your control.
- Google Photos Takeout Helper (GPTH) Script that organizes the Google Takeout archive into one big chronological folder.
- Exiftool Metadata information reader/writer.
🎖️ Credits
I hope this can be useful for any of you. Enjoy it!
(c) 2024-2025 by Jaime Tur (@jaimetur).
Part of this Tool is based on GPTH Tool by TheLastGimbus/Wacheee and v4.x.x by Xentraxx
🙏 Donation / Sponsor
If you consider that this Tool has helped you, you can also consider donating me with a ☕
I spent a lot of time developing this Tool for free, so donations will contribute to motivate me to continue working on this project 💖
Beta Was this translation helpful? Give feedback.
-
Hi, thanks for the great work in primis!!
btw:
Getting this "cannot execute binary file: Exec format error"
I followed all the instruction.. I'm on a Mac by ssh Synology.
Files under Zip_Files
command that I used: ./OrganizeTakeoutPhotos --zip-folder ./Zips --takeout-folder ./Takeout --albums-structure year/month
Any help?
|
Beta Was this translation helpful? Give feedback.
-
In Windows you have you use back slash “\” instead of “/“ and you don’t need to start the command with ./
El 4 ene 2025, 15:13 +0100, vixius ***@***.***>, escribió:
… > If you want to run it from Windows you should open a CMD or PowerShell terminal and execute the script with the propper arguments. FYI: I'm working on a Linux_arm64 version. Hopefully I could finish it soon. Keep you posted.
Where is the mistake :( ?
image.png (view on web)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Thanks.
Yes, you can check duplicates in any folder(s). You can provide one or more folder and the script will look for duplicates in all of them. Give more priority to the file found in the first folder. Check the —help section or the readme.md for more info.
El 6 ene 2025, 22:09 +0100, vixius ***@***.***>, escribió:
… > Happy to see that at least Windows version works for you. Can you try now to download linux_arm64 versoin and let me know if it works?
Yeeees It works like a charme, Great Job! I'd like to offer you a beer!
Is there a way to check duplicates inside photo folder in nas? Because now I have some foto from iPhone already in photo folder in as and other from google takeout. But is it possible to do a duplicate check directly on photo folder on nas?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hello! First of all, thank you for your work @jaimetur. I did everything on my PC and it works like a charm. I'm stuck at the last step, the extra mode -ca to create the albums on Synalogy Photos. I tried it on version 2.2.1 and 2.3.0, but I'm getting connection errors. My Synology.config file is properly configurated and I tried both in Powershell SSH running on Windows and Linux ARM versions and the result is the same. I've disabled firewall, and 2-factor authentication with no results. The indexing service is properly started on my NAS as stated in the log but I'm getting the error. Can you help me? |
Beta Was this translation helpful? Give feedback.
-
Hi new to Synology, been awhile since I’ve worked with Linux. Connecting to a DS223 (DSM Ver 7.2.2-72806) with an M2 Mac Mini via SSH. Script version 2.3.0_linux_arm64. I have the script folder in the same folder as the Takeout Folder. Used the following command. Got to Step 3 and encountered the following error Any help/guidance would be appreciated. TIA |
Beta Was this translation helpful? Give feedback.
-
Are you sure that you are using the right architecture? Can you try with amd64 instead of arm64?
On the other hand, is not a good idea to run the script from the same takeout folder, I would move it on folder up, because there is some options that make the script to delete takeout folder when finish.
|
Beta Was this translation helpful? Give feedback.
-
Hi again,
I guess that you already solved your Google Takeout processing issues, but just in case that you are still interested, let me introduce you a new very refreshed and improved version of the tool CloudPhotoMigrator (former OrganizeTakeoutPhotos).
You can find more information about this new release and the documentation here:
https://github.com/jaimetur/CloudPhotoMigrator
All the feedback that you can provide is more than welcomed.
Saludos,
Jaime Tur
***@***.***
El 27 ene 2025, 14:12 +0100, MingFu64 ***@***.***>, escribió:
… Since I'm running this on the Synology (DS223) I checked with ChatGPT to make sure I had the right architecture. I downloaded the Linux AMD64 based on the following.
"The Synology DS223 is powered by a Realtek RTD1296 processor, which is a Quad-Core ARM Cortex-A53 chip. It operates at 1.4 GHz and has a 64-bit architecture. This makes the DS223 capable of handling a variety of tasks efficiently while supporting the 64-bit capabilities for modern applications and larger memory configurations."
Folder structure wise I currently have \Temp\OrganizeTakeoutPhotos\ and \Temp\Takeout. Are you suggesting the script needs to be up one level where the \Temp folder is located? I can try both suggestions and circle back later. Thanks
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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