File Blocks

File blocks define files to be staged in a target directory as copies or symbolic links. Keys in such blocks specify destination paths relative to the target directory, and values specify source paths.

Example block:

foo: /path/to/foo
subdir/bar: /path/to/bar
  • Result when copying:

target/
├── foo
└── subdir
    └── bar

where foo and bar are copies of their respective source files.

  • Result when linking:

target
├── foo -> /path/to/foo
└── subdir
    └── bar -> /path/to/bar

where foo and bar are symbolic links.