diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2017-04-09 20:42:01 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2017-04-12 11:47:33 +1000 |
commit | 04d211effa8d65020887112ee30c7b3b0fc28ad3 (patch) | |
tree | 9939b65851a6fc5bb6a0863d286b8da0d4876e74 /doc | |
parent | 86f5c74694cb0403eaf11fa4734f307a0df345cb (diff) | |
download | pacman-04d211effa8d65020887112ee30c7b3b0fc28ad3.tar.xz |
add --overwrite option to ignore file conflicts
Allows for safer, more fine-grained control for overwriting files than
--force's all-or-nothing approach.
Implements FS#31549.
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/pacman.8.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/pacman.8.txt b/doc/pacman.8.txt index 7b5a17e3..2586c1fe 100644 --- a/doc/pacman.8.txt +++ b/doc/pacman.8.txt @@ -270,6 +270,18 @@ Upgrade Options (apply to '-S' and '-U')[[UO]] *\--needed*:: Do not reinstall the targets that are already up-to-date. +*\--overwrite* <glob>:: + Bypass file conflict checks and overwrite conflicting files. If the + package that is about to be installed contains files that are already + installed and match 'glob', this option will cause all those files to be + overwritten. Using '\--overwrite' will not allow overwriting a directory + with a file or installing packages with conflicting files and directories. + Multiple patterns can be specified by separating them with a comma. May be + specified multiple times. Patterns can be negated, such that files + matching them will not be overwritten, by prefixing them with an + exclamation mark. Subsequent matches will override previous ones. A leading + literal exclamation mark or backslash needs to be escaped. + Query Options (apply to '-Q')[[QO]] ----------------------------------- |