summaryrefslogtreecommitdiffstats
path: root/bin/cp/cp.1
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2006-08-24 20:45:38 +0000
committerjulian <julian@FreeBSD.org>2006-08-24 20:45:38 +0000
commitb0fd0e692560ae88e7e9773907b6d2c18a8d0196 (patch)
tree4d497ada8393e7dbb8d94ec459fa2ab39e7c063d /bin/cp/cp.1
parente574350b77b314c0adecc7516040ab41e14df230 (diff)
downloadFreeBSD-src-b0fd0e692560ae88e7e9773907b6d2c18a8d0196.zip
FreeBSD-src-b0fd0e692560ae88e7e9773907b6d2c18a8d0196.tar.gz
Add an option to allow copying of a hierarchy while linking he regular files.
Bikeshedded to death on: hackers Submitted by:andersonatcenttech.com MFC in: 1 month
Diffstat (limited to 'bin/cp/cp.1')
-rw-r--r--bin/cp/cp.16
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/cp/cp.1 b/bin/cp/cp.1
index 91b532f..3730423 100644
--- a/bin/cp/cp.1
+++ b/bin/cp/cp.1
@@ -45,7 +45,7 @@
.Op Fl H | Fl L | Fl P
.Oc
.Op Fl f | i | n
-.Op Fl pv
+.Op Fl plv
.Ar source_file target_file
.Nm
.Oo
@@ -53,7 +53,7 @@
.Op Fl H | Fl L | Fl P
.Oc
.Op Fl f | i | n
-.Op Fl pv
+.Op Fl plv
.Ar source_file ... target_directory
.Sh DESCRIPTION
In the first synopsis form, the
@@ -116,6 +116,8 @@ If you need to preserve hard links, consider using
or
.Xr pax 1
instead.
+.It Fl l
+Create hard links to regular files in a hierarchy instead of copying.
.It Fl f
For each existing destination pathname, remove it and
create a new file, without prompting for confirmation
OpenPOWER on IntegriCloud