|
|
|
@ -153,12 +153,12 @@
|
|
|
|
|
## ALTERNATES
|
|
|
|
|
When managing a set of files across different systems, it can be useful
|
|
|
|
|
to have an automated way of choosing an alternate version of a file for
|
|
|
|
|
a different operation system or simply for a different host. yadm
|
|
|
|
|
implements a feature which will automatically create a symbolic link to
|
|
|
|
|
the appropriate version of a file, as long as you follow a specific
|
|
|
|
|
naming convention. yadm can detect files with names ending in:
|
|
|
|
|
a different operation system, host, or user. yadm implements a feature
|
|
|
|
|
which will automatically create a symbolic link to the appropriate ver-
|
|
|
|
|
sion of a file, as long as you follow a specific naming convention.
|
|
|
|
|
yadm can detect files with names ending in:
|
|
|
|
|
|
|
|
|
|
##OS.HOSTNAME or ##OS or ##
|
|
|
|
|
## or ##OS or ##OS.HOSTNAME or ##OS.HOSTNAME.USER
|
|
|
|
|
|
|
|
|
|
If there are any files managed by yadm's repository which match this
|
|
|
|
|
naming convention, symbolic links will be created for the most appro-
|
|
|
|
@ -194,13 +194,14 @@
|
|
|
|
|
|
|
|
|
|
$HOME/path/example.txt -> $HOME/path/example.txt##
|
|
|
|
|
|
|
|
|
|
If no "##" version exists and no files match the current OS or HOST-
|
|
|
|
|
NAME, then no link will be created.
|
|
|
|
|
If no "##" version exists and no files match the current OS/HOST-
|
|
|
|
|
NAME/USER, then no link will be created.
|
|
|
|
|
|
|
|
|
|
OS is determined by running uname -s, and HOSTNAME by running host-
|
|
|
|
|
name -s. yadm will automatically create these links by default. This
|
|
|
|
|
can be disabled using the yadm.auto-alt configuration. Even if dis-
|
|
|
|
|
abled, links can be manually created by running yadm alt.
|
|
|
|
|
OS is determined by running uname -s, HOSTNAME by running hostname -s,
|
|
|
|
|
and USER by running id -u -n. yadm will automatically create these
|
|
|
|
|
links by default. This can be disabled using the yadm.auto-alt configu-
|
|
|
|
|
ration. Even if disabled, links can be manually created by running
|
|
|
|
|
yadm alt.
|
|
|
|
|
|
|
|
|
|
## ENCRYPTION
|
|
|
|
|
It can be useful to manage confidential files, like SSH or GPG keys,
|
|
|
|
|