Uln is a symbolic link creator and/or file copier controlled via config file.
Uln reads a .uln file in the current directory. This file defines source files for linking/coping and destination directory for these links/files. Target files may be dependent upon hostname by appending it to their names.
uln <COMMAND> [OPTION...]
init
: Create a new .uln file in current directory.
link
: Create symbolic links defined in .uln file.
copy
: Copy files defined in .uln file.
-c, --config <FILE>
: Read config from FILE instead of .uln default.
-D, --dry-run
: Perform dry run making no changes.
-H, --help
: Display help and exit.
.uln - strictyaml file with the following keys:
dest : Destination directory for links/copies. Required.
srcs : List of source files relative to directory containing .uln file.
The files linked to/copied from may be dependent upon the system hostname by appending an underscore and the desired hostname to the file name. For example, if FILE.EXT is in targets, a link to FILE_HOSTNAME.EXT will be created, if it exists, instead of FILE.EXT.