Skip to content

fnox files write ​

  • Usage: fnox files write [-n --dry-run] [PATHS]…

Write the files to their paths

Decrypts or fetches each file of the active profiles and writes it to the path that keys it, with mode 0600, replacing whatever is there. A file whose content already matches is left alone. The content is written to a temporary file and renamed into place, so a symlink at the path is replaced, not followed. Every file is resolved before any is written.

With PATH arguments, only those files are written.

Arguments ​

  • [PATHS]… — Files to write; omit to write all of them

Flags ​

  • -n --dry-run — List the files that would be written without resolving or writing them
  • -h --help — Print help

Examples ​

Write every file of the profile

sh
fnox files write

Write one file from the work profile

sh
fnox -P work files write ~/.kube/config

Show what would be written

sh
fnox files write --dry-run
MIT LicenseCopyright © 2026jdx.dev