| Line 52... |
Line 52... |
| 52 |
Argument \code{extra_flags} is passed to an external \command{tar} and
|
52 |
Argument \code{extra_flags} is passed to an external \command{tar} and
|
| 53 |
so is platform-dependent. Possibly useful values include \option{-h}
|
53 |
so is platform-dependent. Possibly useful values include \option{-h}
|
| 54 |
(follow symbolic links, also \option{-L} on some platforms),
|
54 |
(follow symbolic links, also \option{-L} on some platforms),
|
| 55 |
\samp{--acls}, \option{--exclude-backups}, \option{--exclude-vcs} (and
|
55 |
\samp{--acls}, \option{--exclude-backups}, \option{--exclude-vcs} (and
|
| 56 |
similar) and on Windows \option{--force-local} (so drives can be
|
56 |
similar) and on Windows \option{--force-local} (so drives can be
|
| 57 |
included in filepaths: this used to be the default for \R on Windows).
|
57 |
included in filepaths: this used to be the default for \R on
|
| - |
|
58 |
Windows). \command{bsdtar} from \code{libarchive} (the current
|
| - |
|
59 |
default \command{tar} on macOS) supports \option{--no-xattrs} to
|
| - |
|
60 |
exclude \sQuote{extended file attributes} (sometimes reported by GNU
|
| - |
|
61 |
\command{tar} as \sQuote{extended header keyword}).
|
| 58 |
|
62 |
|
| 59 |
A convenient and robust way to set options for GNU \command{tar} is via
|
63 |
A convenient and robust way to set options for GNU \command{tar} is via
|
| 60 |
environment variable \env{TAR_OPTIONS}. Appending \option{--force-local}
|
64 |
environment variable \env{TAR_OPTIONS}. Appending \option{--force-local}
|
| 61 |
to \env{TAR} does not work with GNU \command{tar} due to restrictions on
|
65 |
to \env{TAR} does not work with GNU \command{tar} due to restrictions on
|
| 62 |
how some options can be mixed. The \command{tar} available on Windows 10
|
66 |
how some options can be mixed. The \command{tar} available on Windows 10
|