Suggestions for Synology Users #157
Replies: 12 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 StatisticsCloudPhotoMigratorThis tool has been designed to Interact and Manage different Photos Cloud services, and allow users to do an Automated Migration from one Photo Cloud service to other or from one account to a new account of the same Photo Cloud service. As of today, the Supported Photo Cloud Services are:
Apart from Manage the different Photo Cloud Services, the Tool also contains some other useful features such as:
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. Live Dashboard Preview:Download:Download the tool either for Linux, MacOS or Windows (for both x64/amd64 or arm64 architectures) or Docker version (plattform & architecture independent) as you prefer, directly from following links: Configuration File:Youn can see how to configure the Config.ini file in this help section: Command Line Syntax:You can check the whole list of functions and arguments with the right syntax here: All Documentation Links:
Execution Methods:There are three different methods to execute this Tool:
The below tables show the pros and cons of each method together with a comparative rating of each one of them for you to decide wich one fits best with your needed:
Main Use Case: Automated Migration FeatureNote Automated Migration FeatureFrom version 3.0.0 onwards, the Tool supports a new Feature called 'Automated Migration'. Use the argument '--source' to select the <SOURCE> and the argument '--target' to select <TARGET> for the Automated Migration Process to Pull all your Assets (including Albums) from the <SOURCE> Cloud Service and Push them to the <TARGET> Cloud Service (including all Albums that you may have on the
If you ommit the suffix -[id], the tool will assume that account 1 will be used for the specified client (ie: --source=synology-photos means that Synology Photos account 1 will be used as <SOURCE> client.) Also, you can ommit the suffix -photos in both <SOURCE> and <TARGET> clients, so, you can just use --source=synology --target=immich to set Synology Photos account 1 as <SOURCE> client and Immich Photos account 1 as <TARGET> client. By default, the whole Migration process is executed in parallel using multi-threads (it will detect automatically the number of threads of the CPU to set properly the number of Push workers. By default, (if your terminal size has enough width and heigh) a Live Dashboard will show you all the details about the migration process, including most relevant log messages, and counter status. You can disable this Live Dashboard using the flag '-dashboard=false or --dashboard=false'. Additionally, this Automated Migration process can also be executed secuencially instead of in parallel, so first, all the assets will be pulled from Also, take into account that in this case, the Live Dashboard will not be displayed, so you only will see the different messages log in the screen, but not the live counters during the migration. Warning If you use a local folder <INPUT_FOLDER> as source client, all your Albums should be placed into a subfolder called 'Albums' within <INPUT_FOLDER>, creating one Album subfolder per Album, otherwise the tool will no create any Album in the target client. Example: Important It is important that you configure properly the file 'Config.ini' (included with the tool), to set properly the accounts for your Photo Cloud Services. ROADMAP:v4.0.0:Release Date: (estimated)
TODO:
CreditsI hope this can be useful for any of you. (c) 2024-2025 by Jaime Tur (@jaimetur). Donation / Sponsor:If you consideer that this Tool has helped you, you can also consider donating me with a ☕ |
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.
-
Added Release 2.3.0 to OrganizeTakeoutPhotos Script Release Notes:Release: 2.3.0
Download Script:Download the script either Linux, MacOS or Windows version (for both x64/amd64 or arm64 architectures) as you prefeer directly from following links: Linux:: Mac OS: Windows: Full Changelog: jaimetur/CloudPhotoMigrator@1.2.0...2.3.0 |
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.
-
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