From 8f6ae017cf8112cd69f3169dfcab4d76a6cd2544 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Mon, 30 Dec 2024 16:23:53 +0900 Subject: [PATCH] Add note about `--temp-files-dir ` in README --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 1e5aa30..010282f 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,14 @@ See the [Changelog](https://github.com/Stephen-Seo/SimpleArchiver/blob/main/Chan ## Other Things to Know +When compressing, it may be useful to set `--temp-files-dir ` as +`simplearchiver` will create a temporary file (a chunk) usually in the current +working directory or in the directory specified by `-C ` by default. In +case the temporary file cannot be created in the default directory, +[`tmpfile()`](https://man7.org/linux/man-pages/man3/tmpfile.3.html) is used +instead as a fallback. Thus, `--temp-files-dir ` changes the default dir to +store the temporary compressed chunk. + When storing symlinks, `simplearchiver` will typically store relative and absolute-paths for all symlinks. If a symlink points to something that will be stored in the archive during archive creation, then relative paths will be -- 2.49.0