Linux Commands Examples

A great documentation place for Linux commands


Migrate in user session settings.


session-migration [options]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !


The session-migration program can be used to migrate in-session user data when a program is evolving its configuration, or needing to have files moved and so on. This program is generally autostarted at the very beginning of the session and integrates caching capabilities.

The general usage is to ship an executable file in XDG_DATA_DIR/session-migration/scripts. This one will be executed the next time the user log into the session. It will executes all executable files there in ascii order, one after another.

Even if the program tries to cache some timestamp and scripts to not be launched twiced (they are skipped on subsequent runs), the executables file should be idempotent.



This parameter enables to run the session-migration tool without really launching the scripts and marking them are migrated. It’s generally used with --verbose for debugging purposes.

--file filename

This parameter, followed by a path or filename, tells sesions-migration to only consider that script file and ignoring XDG_DATA_DIR. It won’t log as well this special file as being migrated.


Display a quick command help.


Show a lot of verbose information. It can be used by the user to debug configuration issues;

How can this site be more helpful to YOU ?

give  feedback