26 lines
827 B
Plaintext
26 lines
827 B
Plaintext
# Example sync.yaml file
|
|
# You can use this format to define symbolic links
|
|
# Each link specifies source, target, and optional flags
|
|
links:
|
|
- source: ~/Documents/config.ini
|
|
target: ~/.config/app/config.ini
|
|
# This will create a symbolic link, overwriting any existing symlink
|
|
force: true
|
|
|
|
- source: ~/Pictures
|
|
target: ~/Documents/Pictures
|
|
# This will create a hard link instead of a symbolic link
|
|
hard: true
|
|
force: true
|
|
|
|
- source: ~/Scripts/script.sh
|
|
target: ~/bin/script.sh
|
|
# This will delete a non-symlink file at the target location
|
|
# 'delete: true' implies 'force: true'
|
|
delete: true
|
|
|
|
# Alternative format:
|
|
# Instead of using the 'links' property, you can define an array directly:
|
|
# - source: ~/Documents/config.ini
|
|
# target: ~/.config/app/config.ini
|
|
# force: true |