Skip to content

Commit

Permalink
docs: clarify trailing slash in dst
Browse files Browse the repository at this point in the history
closes #671
  • Loading branch information
caarlos0 committed Jul 5, 2024
1 parent d8bf086 commit d33a923
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion www/docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,16 @@ contents:
- src: path/to/local/foo
dst: /usr/bin/foo

# This duplicates the directory structure of 'some/directory' into '/etc',
# without taking ownership of the directories.
- src: some/directory/
dst: /etc

# This will add all files in some/directory or in subdirectories at the
# same level under the directory /etc. This means the tree structure in
# some/directory will not be replicated.
- src: some/directory/
dst: /etc
dst: /etc/ # notice the trailing slash

# This will replicate the directory structure under some/directory at /etc.
- src: some/directory/
Expand Down

0 comments on commit d33a923

Please sign in to comment.