github.com/CAFxX/atomicfile (go): Atomically create fully-formed files with contents read from stdin
Keywords: atomic|command-line-tool|fallocate|filesystem|fsync|golang|library|linux|tmpfile|xattr