Skip to content
/ uln Public

Automated link creator/file copier controlled by simple config file.

License

Notifications You must be signed in to change notification settings

arcmags/uln

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

uln

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.

Usage

uln <COMMAND> [OPTION...]

Commands

init : Create a new .uln file in current directory.

link : Create symbolic links defined in .uln file.

copy : Copy files defined in .uln file.

Options

-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.

Config

.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.

Hostname

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.


Chris Magyar
GPL v3

About

Automated link creator/file copier controlled by simple config file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages