Bug 409388

Summary: Backup and Restore KDE Connect Remote Commands
Product: [Applications] kdeconnect Reporter: DarrenWSturdy
Component: commonAssignee: Albert Vaca Cintora <albertvaka>
Status: RESOLVED FIXED    
Severity: wishlist CC: jason.nader, m, pumaelbusta
Priority: NOR    
Version: 1.3.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description DarrenWSturdy 2019-07-02 00:41:00 UTC
SUMMARY

I want the ability to backup/restore commands in the KDE Connect Commands Applet. When you swap phones, you have to manually copy each description and command from the old phone's config, to the new phone's.
Comment 1 pumaelbusta 2023-03-28 07:43:33 UTC
I'd vote up this request. I found another way getting the commands backed up / migrated - these are stored in a file ~/.config/kdeconnect/${?device?id}/kdeconnect_runcommand/config and if I remember correctly I simply copied over this file to another device's directory. I don't know what the first element in the bytearray is, if it's causing a problem having the same value for multiple devices/commands.
Comment 2 Bug Janitor Service 2023-03-29 23:10:39 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/536
Comment 3 Albert Vaca Cintora 2023-03-30 10:54:35 UTC
Git commit d925254e3aa4bf2472237c55c8531df56a3ea90d by Albert Vaca Cintora.
Committed on 30/03/2023 at 10:54.
Pushed by albertvaka into branch 'master'.

Run command settings: add import and export buttons

M  +72   -0    plugins/runcommand/runcommand_config.cpp
M  +2    -0    plugins/runcommand/runcommand_config.h

https://invent.kde.org/network/kdeconnect-kde/commit/d925254e3aa4bf2472237c55c8531df56a3ea90d