Skip to content

[Feature request] It would be better to add export and import session functions #161

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ttbadr opened this issue Aug 17, 2021 · 8 comments
Closed

Comments

@ttbadr
Copy link

ttbadr commented Aug 17, 2021

This app is the best terminal I want for now. Here are some ideas for your consideration:

  1. export sessions and quick commands, import them to other devices
  2. is any chance to supports to import xshell session or dev an import function that could imports some struct text file like below to supports batch import sessions, It's convenient for people who want to move from other apps:
group:
    session1:
           host:
           user:
     session2:
           host:
           user:
  1. set authentication method on the group, if the sessions under the group no authentication method specified, then use the group one.
@hongweipeng
Copy link

You can use it by copying the profiles folder to other devices.

@ttbadr
Copy link
Author

ttbadr commented Aug 17, 2021

You can use it by copying the profiles folder to other devices.

is the authentication data could be copy to other devices too?

@hongweipeng
Copy link

The profiles folder contains authentication data.

In fact, when upgrading windderm, I also use this method to synchronize sessions information.

@kingToolbox
Copy link
Owner

Thank you, I am glad you like WindTerm.

  1. Just as pointed out by @hongweipeng, you only need to copy profiles folder to use it directly on other devices. So you even can write your own script to synchronize the settings. The authentication data will also be copied, but don’t worry about data security, because the data is still encrypted and your master password is still required.
  2. The configuration data is in the json format (profiles\default.v10\terminal\user.sessions, profiles\default.v10\terminal\quickbar.config), so you can write scripts to perform the conversion between the configuration of WindTerm and other clients. And WindTerm will import the sessions' configuration of PuTTY and OpenSSH by default.
  3. Creating a session with automatic login is not too difficult, and it is one-time. Then you can directly duplicate this session (Session Pane - Shortcut Menu - Duplicate (Ctrl+D)) and simply modify its host and port to get a new session that uses the same automatic login method, In this way, even creating a hundred sessions is very convenient. If you have more requirements, it is recommended that you directly use an editor or script to edit profiles\default.v10\terminal\user.sessions. On the other hand, set authentication method on the group will make the operation and UI design complicated, What do you think?

@ttbadr
Copy link
Author

ttbadr commented Aug 17, 2021

@kingToolbox @hongweipeng thanks for your replies that cleared my confusion

@ttbadr ttbadr closed this as completed Aug 17, 2021
@kingToolbox
Copy link
Owner

Sure, welcome to continue submitting new issues and feature requests.

@kingToolbox
Copy link
Owner

The new WindTerm_2.4.0_Prerelease_1 supports specifying the storage path of profiles, which makes it more convenient to transfer profiles to other devices. Welcome to download and use it. Thank you.

@skinnyshy
Copy link

skinnyshy commented May 10, 2025

The user.sessions location on macOS is /Users/xxxx/.wind/profiles/default.v10/terminal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants