From b0fd0e692560ae88e7e9773907b6d2c18a8d0196 Mon Sep 17 00:00:00 2001 From: julian Date: Thu, 24 Aug 2006 20:45:38 +0000 Subject: 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 --- bin/cp/cp.1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bin/cp/cp.1') 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 -- cgit v1.1