src: add new option --link to preserve hard links; use with care

This commit is contained in:
Markus F.X.J. Oberhumer
2023-09-04 22:34:21 +02:00
parent 62dbf8485f
commit 4f6320d3aa
8 changed files with 181 additions and 82 deletions
+1
View File
@@ -81,6 +81,7 @@ struct Options final {
bool no_env;
bool no_progress;
const char *output_name;
bool preserve_link;
bool preserve_mode;
bool preserve_ownership;
bool preserve_timestamp;