Skip to content

Commit

Permalink
Add archive documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Dec 13, 2018
1 parent 170548f commit 3913e51
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,17 @@ Note that this only updates the source state. You will need to run
to update your home directory.


## Exporting archives

`chezmoi` can create an archive containing the target state. This can be useful
for generating target state on a different machine or for simply inspecting the
target state. A particularly useful command is:

$ chezmoi archive | tar tvf -

which lists all the files in the target state.


## Under the hood

`chezmoi` stores the desired state of files, symbolic links, and directories in
Expand Down

0 comments on commit 3913e51

Please sign in to comment.