session-migration(1)
session-migration π
okay bestie, this is session-migration from the Linux User's Manual β it's a lil autostart helper that moves your user session data around when stuff changes. she's lowkey the backstage crew of your session and you never notice her until you need her. periodt. β¨
πΈ NAME πΈ
session-migration β migrate in user session settings π
β¨ SYNOPSIS β¨
session-migration [options]
π¦ DESCRIPTION π¦
so the tea is: session-migration is the program you use to migrate in-session user data β like when a program is evolving its configuration, or when it just needs some files moved and so on. π This program is generally autostarted at the very beginning of the session and it integrates caching capabilities. she's up before you are, fr fr.
the general usage? ship an executable file in XDG_DATA_DIR/session-migration/scripts. that one gets executed the next time the user logs into the session. and not just that one β it runs all executable files there in ascii order, one after another. π«
and even though the program tries to cache some timestamp and scripts so they don't get launched twice (they are skipped on subsequent runs), the executables file should be idempotent. no cap. π«Ά
not me stressing this but like β make them idempotent anyway, bestie, it's the vibe check for good migration scripts. π
π OPTIONS π
--dry-runβ this parameter lets you run the session-migration tool without really launching the scripts and without marking them as migrated. it's generally used with--verbosefor debugging purposes. it's giving "rehearsal, not the show" π--filefilename β this parameter, followed by a path or filename, tells session-migration to only consider that script file and ignoreXDG_DATA_DIR. it also won't log this special file as being migrated. very "just this one, thanks" energy π--helpβ display a quick command help. she's helpful AND humble, iconic π--verboseβ show a lot of verbose information. it can be used by the user to debug configuration issues. turn it on when you're sleuthing π΅οΈβοΈ
that's the whole page, bestie β every flag, every path, every vibe, preserved. π
sign-off time: this one is dated 12 July 2012 and she's page session-migration(1) of the manual. old but gold, fr fr. πβ¨ππ¦πΈ
π¦ where this page comes from
- ubuntu jammy: session-migration 0.3.6 Β· LGPL-3.0-or-later
- ubuntu noble: session-migration 0.3.9build1 Β· LGPL-3.0-or-later
- ubuntu questing: session-migration 0.3.9build1
- ubuntu resolute: session-migration 0.3.9build2 Β· LGPL-3.0-or-later
- ubuntu stonking: session-migration 0.3.9build2 Β· LGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms